public class AppenderLoggingException extends LoggingException
StatusLogger. Appenders should only throw exceptions when an error
prevents an event from being written. Appenders must throw an exception in this case so that error-handling
features like the FailoverAppender work properly.
Also note that appenders must provide a way to suppress exceptions when the user desires and abide by
that instruction. See Appender.ignoreExceptions(), which is the standard
way to do this.| Modifier and Type | Field and Description |
|---|---|
private static long |
serialVersionUID |
| Constructor and Description |
|---|
AppenderLoggingException(java.lang.String message)
Construct an exception with a message.
|
AppenderLoggingException(java.lang.String message,
java.lang.Throwable cause)
Construct an exception with a message and underlying cause.
|
AppenderLoggingException(java.lang.Throwable cause)
Construct an exception with an underlying cause.
|
private static final long serialVersionUID
public AppenderLoggingException(java.lang.String message)
message - The reason for the exceptionpublic AppenderLoggingException(java.lang.String message,
java.lang.Throwable cause)
message - The reason for the exceptioncause - The underlying cause of the exceptionpublic AppenderLoggingException(java.lang.Throwable cause)
cause - The underlying cause of the exception