public class ConfigurationException extends CascadingException
Configurable
component cannot be configured
properly, or if a value cannot be retrieved properly.Constructor and Description |
---|
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. |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getMessage() |
Configuration |
getOffendingConfiguration() |
getCause
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 exceptionpublic Configuration getOffendingConfiguration()
public java.lang.String getMessage()
getMessage
in class java.lang.Throwable