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:
Serializable
,CascadingThrowable
Thrown when a
Configurable
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:
-
Constructor Summary
ConstructorsConstructorDescriptionConfigurationException
(String message) Construct a newConfigurationException
instance.ConfigurationException
(String message, Throwable throwable) Construct a newConfigurationException
instance.ConfigurationException
(String message, Configuration config) Construct a newConfigurationException
instance.ConfigurationException
(String message, Configuration config, Throwable throwable) Construct a newConfigurationException
instance.ConfigurationException
(Configuration config) Construct a newConfigurationException
instance. -
Method Summary
Methods inherited from class org.apache.avalon.framework.CascadingException
getCause
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
ConfigurationException
Construct a newConfigurationException
instance.- Parameters:
config
- The offending configuration object
-
ConfigurationException
Construct a newConfigurationException
instance.- Parameters:
message
- The detail message for this exception.
-
ConfigurationException
Construct a newConfigurationException
instance.- Parameters:
message
- The detail message for this exception.throwable
- the root cause of the exception
-
ConfigurationException
Construct a newConfigurationException
instance.- Parameters:
message
- The detail message for this exception.config
- The configuration object
-
ConfigurationException
Construct a newConfigurationException
instance.- Parameters:
message
- The detail message for this exception.throwable
- the root cause of the exception
-
-
Method Details
-
getOffendingConfiguration
-
getMessage
- Overrides:
getMessage
in classThrowable
-