aboutsummaryrefslogtreecommitdiffstats
path: root/vespalog/src/main/java/com/yahoo/log/InvalidLogFormatException.java
blob: ae5a14b13ebaaf11850bc08386ceb41759b788dc (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
// Copyright Vespa.ai. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root.
package com.yahoo.log;

/**
 * This (checked) exception is used to flag invalid log messages,
 * primarily for use in the factory methods of LogMessage.
 *
 * @author  Bjorn Borud
 */
public class InvalidLogFormatException extends Exception
{
    public InvalidLogFormatException (String msg) {
        super(msg);
    }

    public InvalidLogFormatException (String msg, Throwable cause) {
        super(msg, cause);
    }

    public InvalidLogFormatException () {
    }
}