Package org.apache.commons.logging
Class LogConfigurationException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
org.apache.commons.logging.LogConfigurationException
- All Implemented Interfaces:
Serializable
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.
- Author:
- Craig R. McClanahan
- See Also:
-
Field Summary
-
Constructor Summary
ConstructorDescriptionConstruct a new exception withnull
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.Construct a new exception with the specified cause and a derived detail message. -
Method Summary
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Field Details
-
cause
The underlying cause of this exception.
-
-
Constructor Details
-
LogConfigurationException
public LogConfigurationException()Construct a new exception withnull
as its detail message. -
LogConfigurationException
Construct a new exception with the specified detail message.- Parameters:
message
- The detail message
-
LogConfigurationException
Construct a new exception with the specified cause and a derived detail message.- Parameters:
cause
- The underlying cause
-
LogConfigurationException
Construct a new exception with the specified detail message and cause.- Parameters:
message
- The detail messagecause
- The underlying cause
-
-
Method Details