public class LogConfigurationException extends RuntimeException
An exception that is thrown only if a suitable LogFactory
or
Log
instance cannot be created by the corresponding factory
methods.
In this version of JCL, this exception will never be thrown in practice. However, it is included here to ensure total compile time and run time compatibility with the original JCL 1.0.4.
Modifier and Type | Field and Description |
---|---|
protected Throwable |
cause
The underlying cause of this exception.
|
Constructor and Description |
---|
LogConfigurationException()
Construct a new exception with
null as its detail message. |
LogConfigurationException(String message)
Construct a new exception with the specified detail message.
|
LogConfigurationException(String message,
Throwable cause)
Construct a new exception with the specified detail message and cause.
|
LogConfigurationException(Throwable cause)
Construct a new exception with the specified cause and a derived detail
message.
|
Modifier and Type | Method and Description |
---|---|
Throwable |
getCause()
Return the underlying cause of this exception (if any).
|
addSuppressed, fillInStackTrace, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
protected Throwable cause
public LogConfigurationException()
null
as its detail message.public LogConfigurationException(String message)
message
- The detail messagepublic LogConfigurationException(Throwable cause)
cause
- The underlying causeCopyright © 2005–2015 QOS.ch. All rights reserved.