org.castor.core.util
Class ConfigurationException

java.lang.Object
  extended byjava.lang.Throwable
      extended byjava.lang.Exception
          extended byjava.lang.RuntimeException
              extended byorg.castor.core.exceptions.CastorRuntimeException
                  extended byorg.castor.core.util.ConfigurationException
All Implemented Interfaces:
java.io.Serializable

public final class ConfigurationException
extends CastorRuntimeException

ConfigurationException is an unchecked exception thrown when Configuration can not be loaded or if configuration property can't be converted to the requested type.

Since:
1.1.3
Version:
$Id: Configuration.java,v 1.8 2006/03/08 17:25:52 jens Exp $
Author:
Ralf Joachim
See Also:
Serialized Form

Constructor Summary
ConfigurationException()
          Constructs a new ConfigurationException without a message.
ConfigurationException(java.lang.String message)
          Constructs a new ConfigurationException with the specified detail message.
ConfigurationException(java.lang.String message, java.lang.Throwable cause)
          Constructs a new ConfigurationException with the specified detail message and cause.
ConfigurationException(java.lang.Throwable cause)
          Constructs a new ConfigurationException with the specified cause and the detail message of the cause.
 
Methods inherited from class org.castor.core.exceptions.CastorRuntimeException
getCause, initCause, printStackTrace, printStackTrace, printStackTrace
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getLocalizedMessage, getMessage, getStackTrace, setStackTrace, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ConfigurationException

public ConfigurationException()
Constructs a new ConfigurationException without a message. The cause is not initialized but may subsequently be initialized by a call to initCause(Throwable).


ConfigurationException

public ConfigurationException(java.lang.String message)
Constructs a new ConfigurationException with the specified detail message. The cause is not initialized but may subsequently be initialized by a call to initCause(Throwable).

Parameters:
message - The detail message.

ConfigurationException

public ConfigurationException(java.lang.Throwable cause)
Constructs a new ConfigurationException with the specified cause and the detail message of the cause. This constructor is useful for exceptions that are wrappers for others.

Parameters:
cause - The cause.

ConfigurationException

public ConfigurationException(java.lang.String message,
                              java.lang.Throwable cause)
Constructs a new ConfigurationException with the specified detail message and cause.

Parameters:
message - The detail message.
cause - The cause.


Copyright 2008 null. All Rights Reserved.