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.- See Also:
-
Field Summary
-
Constructor Summary
ConstructorDescriptionConstructs a new exception withnull
as its detail message.LogConfigurationException
(String message) Constructs a new exception with the specified detail message.LogConfigurationException
(String message, Throwable cause) Constructs a new exception with the specified detail message and cause.Constructs a new exception with the specified cause and a derived detail message. -
Method Summary
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Field Details
-
cause
Deprecated.UseThrowable.getCause()
.The underlying cause of this exception.
-
-
Constructor Details
-
LogConfigurationException
public LogConfigurationException()Constructs a new exception withnull
as its detail message. -
LogConfigurationException
Constructs a new exception with the specified detail message.- Parameters:
message
- The detail message
-
LogConfigurationException
Constructs a new exception with the specified detail message and cause.- Parameters:
message
- The detail messagecause
- The underlying cause
-
LogConfigurationException
Constructs a new exception with the specified cause and a derived detail message.- Parameters:
cause
- The underlying cause
-
Throwable.getCause()
.