|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjava.lang.Throwable
java.lang.Exception
org.apache.avalon.framework.CascadingException
org.apache.avalon.framework.configuration.ConfigurationException
public class ConfigurationException
Thrown when a Configurable
component cannot be configured
properly, or if a value cannot be retrieved properly.
Constructor Summary | |
---|---|
ConfigurationException(Configuration config)
Construct a new ConfigurationException instance. |
|
ConfigurationException(java.lang.String message)
Construct a new ConfigurationException instance. |
|
ConfigurationException(java.lang.String message,
Configuration config)
Construct a new ConfigurationException instance. |
|
ConfigurationException(java.lang.String message,
Configuration config,
java.lang.Throwable throwable)
Construct a new ConfigurationException instance. |
|
ConfigurationException(java.lang.String message,
java.lang.Throwable throwable)
Construct a new ConfigurationException instance. |
Method Summary | |
---|---|
java.lang.String |
getMessage()
|
Configuration |
getOffendingConfiguration()
|
Methods inherited from class org.apache.avalon.framework.CascadingException |
---|
getCause |
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 |
Constructor Detail |
---|
public ConfigurationException(Configuration config)
ConfigurationException
instance.
config
- The offending configuration objectpublic ConfigurationException(java.lang.String message)
ConfigurationException
instance.
message
- The detail message for this exception.public ConfigurationException(java.lang.String message, java.lang.Throwable throwable)
ConfigurationException
instance.
message
- The detail message for this exception.throwable
- the root cause of the exceptionpublic ConfigurationException(java.lang.String message, Configuration config)
ConfigurationException
instance.
message
- The detail message for this exception.config
- The configuration objectpublic ConfigurationException(java.lang.String message, Configuration config, java.lang.Throwable throwable)
ConfigurationException
instance.
message
- The detail message for this exception.throwable
- the root cause of the exceptionMethod Detail |
---|
public Configuration getOffendingConfiguration()
public java.lang.String getMessage()
getMessage
in class java.lang.Throwable
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |