FileDocCategorySizeDatePackage
LogConfigurationException.javaAPI DocAndroid 1.5 API2361Wed May 06 22:41:10 BST 2009org.apache.commons.logging

LogConfigurationException

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.

author
Craig R. McClanahan
version
$Revision: 155426 $ $Date: 2005-02-26 13:10:49 +0000 (Sat, 26 Feb 2005) $

Fields Summary
protected Throwable
cause
The underlying cause of this exception.
Constructors Summary
public LogConfigurationException()
Construct a new exception with null as its detail message.


        super();

    
public LogConfigurationException(String message)
Construct a new exception with the specified detail message.

param
message The detail message


        super(message);

    
public LogConfigurationException(Throwable cause)
Construct a new exception with the specified cause and a derived detail message.

param
cause The underlying cause


        this((cause == null) ? null : cause.toString(), cause);

    
public LogConfigurationException(String message, Throwable cause)
Construct a new exception with the specified detail message and cause.

param
message The detail message
param
cause The underlying cause


        super(message + " (Caused by " + cause + ")");
        this.cause = cause; // Two-argument version requires JDK 1.4 or later

    
Methods Summary
public java.lang.ThrowablegetCause()
Return the underlying cause of this exception (if any).



                  
       

        return (this.cause);