SLF4J API
Version 1.4.3

org.apache.commons.logging
Class LogConfigurationException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by java.lang.RuntimeException
              extended by org.apache.commons.logging.LogConfigurationException
All Implemented Interfaces:
Serializable

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.

Author:
Craig R. McClanahan
See Also:
Serialized Form

Field Summary
protected  Throwable cause
          The underlying cause of this exception.
 
Constructor Summary
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.
 
Method Summary
 Throwable getCause()
          Return the underlying cause of this exception (if any).
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

cause

protected Throwable cause
The underlying cause of this exception.

Constructor Detail

LogConfigurationException

public LogConfigurationException()
Construct a new exception with null as its detail message.


LogConfigurationException

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

Parameters:
message - The detail message

LogConfigurationException

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

Parameters:
cause - The underlying cause

LogConfigurationException

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

Parameters:
message - The detail message
cause - The underlying cause
Method Detail

getCause

public Throwable getCause()
Return the underlying cause of this exception (if any).

Overrides:
getCause in class Throwable

SLF4J API
Version 1.4.3

Copyright © 2005-2008 QOS.ch. All Rights Reserved.