|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjava.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
org.apache.logging.log4j.LoggingException
public class LoggingException
Exception thrown when a exception occurs while logging. In most cases exceptions will be handled within Log4j but certain Appenders may be configured to allow exceptions to propagate to the application. This is a RuntimeException so that the exception may be thrown in those cases without requiring all Logger methods be contained with try/catch blocks.
Constructor Summary | |
---|---|
LoggingException(Exception ex)
Constructs a Logging Exception with a chained Exception and no message. |
|
LoggingException(String msg)
Constructs a LoggingException with a message. |
|
LoggingException(String msg,
Exception ex)
Constructs a LoggingException with a message and a chained Exception. |
Method Summary |
---|
Methods inherited from class java.lang.Throwable |
---|
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public LoggingException(String msg)
msg
- The message.public LoggingException(String msg, Exception ex)
msg
- The message.ex
- The chained Exception.public LoggingException(Exception ex)
ex
- The chained Exception.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |