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:
java.io.Serializable
public class LogConfigurationException extends java.lang.RuntimeException
An exception that is thrown only if a suitableLogFactory
orLog
instance cannot be created by the corresponding factory methods.- Version:
- $Id: LogConfigurationException.java 1432663 2013-01-13 17:24:18Z tn $
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description protected java.lang.Throwable
cause
The underlying cause of this exception.private static long
serialVersionUID
Serializable version identifier.
-
Constructor Summary
Constructors Constructor Description LogConfigurationException()
Construct a new exception withnull
as its detail message.LogConfigurationException(java.lang.String message)
Construct a new exception with the specified detail message.LogConfigurationException(java.lang.String message, java.lang.Throwable cause)
Construct a new exception with the specified detail message and cause.LogConfigurationException(java.lang.Throwable cause)
Construct a new exception with the specified cause and a derived detail message.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.Throwable
getCause()
Return the underlying cause of this exception (if any).
-
-
-
Field Detail
-
serialVersionUID
private static final long serialVersionUID
Serializable version identifier.- See Also:
- Constant Field Values
-
cause
protected java.lang.Throwable cause
The underlying cause of this exception.
-
-
Constructor Detail
-
LogConfigurationException
public LogConfigurationException()
Construct a new exception withnull
as its detail message.
-
LogConfigurationException
public LogConfigurationException(java.lang.String message)
Construct a new exception with the specified detail message.- Parameters:
message
- The detail message
-
LogConfigurationException
public LogConfigurationException(java.lang.Throwable cause)
Construct a new exception with the specified cause and a derived detail message.- Parameters:
cause
- The underlying cause
-
LogConfigurationException
public LogConfigurationException(java.lang.String message, java.lang.Throwable cause)
Construct a new exception with the specified detail message and cause.- Parameters:
message
- The detail messagecause
- The underlying cause
-
-