Class ConfigurationException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- org.apache.avalon.framework.CascadingException
-
- org.apache.avalon.framework.configuration.ConfigurationException
-
- All Implemented Interfaces:
java.io.Serializable
,CascadingThrowable
public class ConfigurationException extends CascadingException
Thrown when aConfigurable
component cannot be configured properly, or if a value cannot be retrieved properly.- Version:
- CVS $Revision: 1.14 $ $Date: 2004/02/11 14:34:24 $
- Author:
- Avalon Development Team
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description ConfigurationException(java.lang.String message)
Construct a newConfigurationException
instance.ConfigurationException(java.lang.String message, java.lang.Throwable throwable)
Construct a newConfigurationException
instance.ConfigurationException(java.lang.String message, Configuration config)
Construct a newConfigurationException
instance.ConfigurationException(java.lang.String message, Configuration config, java.lang.Throwable throwable)
Construct a newConfigurationException
instance.ConfigurationException(Configuration config)
Construct a newConfigurationException
instance.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String
getMessage()
Configuration
getOffendingConfiguration()
-
Methods inherited from class org.apache.avalon.framework.CascadingException
getCause
-
-
-
-
Constructor Detail
-
ConfigurationException
public ConfigurationException(Configuration config)
Construct a newConfigurationException
instance.- Parameters:
config
- The offending configuration object
-
ConfigurationException
public ConfigurationException(java.lang.String message)
Construct a newConfigurationException
instance.- Parameters:
message
- The detail message for this exception.
-
ConfigurationException
public ConfigurationException(java.lang.String message, java.lang.Throwable throwable)
Construct a newConfigurationException
instance.- Parameters:
message
- The detail message for this exception.throwable
- the root cause of the exception
-
ConfigurationException
public ConfigurationException(java.lang.String message, Configuration config)
Construct a newConfigurationException
instance.- Parameters:
message
- The detail message for this exception.config
- The configuration object
-
ConfigurationException
public ConfigurationException(java.lang.String message, Configuration config, java.lang.Throwable throwable)
Construct a newConfigurationException
instance.- Parameters:
message
- The detail message for this exception.throwable
- the root cause of the exception
-
-
Method Detail
-
getOffendingConfiguration
public Configuration getOffendingConfiguration()
-
getMessage
public java.lang.String getMessage()
- Overrides:
getMessage
in classjava.lang.Throwable
-
-