Top Description Fields Constructors Methods
org.apache.avalon.framework.configuration

public Class ConfigurationException

extends CascadingException
Class Inheritance
Imports
org.apache.avalon.framework.CascadingException

Thrown when a Configurable component cannot be configured properly, or if a value cannot be retrieved properly.
Author
Avalon Development Team
Version
$Id: ConfigurationException.java 506231 2007-02-12 02:36:54Z crossley $

Field Summary

Modifier and TypeField and Description
private final Configuration

Constructor Summary

AccessConstructor and Description
public
ConfigurationException(final Configuration
The offending configuration object
config
)

Construct a new ConfigurationException instance.

public
ConfigurationException(final String
The detail message for this exception.
message
)

Construct a new ConfigurationException instance.

public
ConfigurationException(final String
The detail message for this exception.
message
,
final Throwable
the root cause of the exception
throwable
)

Construct a new ConfigurationException instance.

public
ConfigurationException(final String
The detail message for this exception.
message
,
final Configuration
The configuration object
config
)

Construct a new ConfigurationException instance.

public
ConfigurationException(final String
The detail message for this exception.
message
,
final Configuration config, final Throwable
the root cause of the exception
throwable
)

Construct a new ConfigurationException instance.

Method Summary

Modifier and TypeMethod and Description
public String
getMessage()

Overrides java.lang.Throwable.getMessage.

Returns the detail message string of this throwable.
public Configuration
Inherited from org.apache.avalon.framework.CascadingException:
getCause

Field Detail

m_configback to summary
private final Configuration m_config

Constructor Detail

ConfigurationExceptionback to summary
public ConfigurationException(final Configuration config)

Construct a new ConfigurationException instance.

Parameters
config:Configuration

The offending configuration object

ConfigurationExceptionback to summary
public ConfigurationException(final String message)

Construct a new ConfigurationException instance.

Parameters
message:String

The detail message for this exception.

ConfigurationExceptionback to summary
public ConfigurationException(final String message, final Throwable throwable)

Construct a new ConfigurationException instance.

Parameters
message:String

The detail message for this exception.

throwable:Throwable

the root cause of the exception

ConfigurationExceptionback to summary
public ConfigurationException(final String message, final Configuration config)

Construct a new ConfigurationException instance.

Parameters
message:String

The detail message for this exception.

config:Configuration

The configuration object

ConfigurationExceptionback to summary
public ConfigurationException(final String message, final Configuration config, final Throwable throwable)

Construct a new ConfigurationException instance.

Parameters
message:String

The detail message for this exception.

throwable:Throwable

the root cause of the exception

Method Detail

getMessageback to summary
public String getMessage()

Overrides java.lang.Throwable.getMessage.

Doc from java.lang.Throwable.getMessage.

Returns the detail message string of this throwable.

Returns:String

the detail message string of this Throwable instance (which may be null).

getOffendingConfigurationback to summary
public Configuration getOffendingConfiguration()