org.castor.core.util

Class ConfigurationException


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.
Version:
$Id: Configuration.java,v 1.8 2006/03/08 17:25:52 jens Exp $
Author:
Ralf Joachim
Since:
1.1.3

Constructor Summary

ConfigurationException()
Constructs a new ConfigurationException without a message.
ConfigurationException(String message)
Constructs a new ConfigurationException with the specified detail message.
ConfigurationException(String message, Throwable cause)
Constructs a new ConfigurationException with the specified detail message and cause.
ConfigurationException(Throwable cause)
Constructs a new ConfigurationException with the specified cause and the detail message of the cause.

Method Summary

Methods inherited from class org.castor.core.exceptions.CastorRuntimeException

getCause, initCause, printStackTrace, printStackTrace, printStackTrace

Constructor Details

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(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(String message,
                              Throwable cause)
Constructs a new ConfigurationException with the specified detail message and cause.
Parameters:
message - The detail message.
cause - The cause.

ConfigurationException

public ConfigurationException(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.

Intalio Inc. (C) 1999-2008. All rights reserved http://www.intalio.com