org.apache.avalon.framework.configuration
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:
- CascadingThrowable, java.io.Serializable
- public class ConfigurationException
- extends CascadingException
Thrown when a Configurable
component cannot be configured
properly, or if a value cannot be retrieved properly.
- Version:
- $Id: ConfigurationException.java 55776 2004-10-27 23:36:25 -0500 (Wed, 27 Oct 2004) leif $
- Author:
- Avalon Development Team
- See Also:
- Serialized Form
Fields inherited from class java.lang.Exception |
|
Fields inherited from class java.lang.Throwable |
|
Methods inherited from class java.lang.Throwable |
fillInStackTrace, getLocalizedMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
m_config
private final Configuration m_config
ConfigurationException
public ConfigurationException(Configuration config)
- Construct a new
ConfigurationException
instance.
- Parameters:
config
- The offending configuration object
ConfigurationException
public ConfigurationException(java.lang.String message)
- Construct a new
ConfigurationException
instance.
- Parameters:
message
- The detail message for this exception.
ConfigurationException
public ConfigurationException(java.lang.String message,
java.lang.Throwable throwable)
- Construct a new
ConfigurationException
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 new
ConfigurationException
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 new
ConfigurationException
instance.
- Parameters:
message
- The detail message for this exception.throwable
- the root cause of the exception
getOffendingConfiguration
public Configuration getOffendingConfiguration()
getMessage
public java.lang.String getMessage()