Class ConfigurationException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- de.aristaflow.adept2.base.configuration.AbortServiceException
-
- de.aristaflow.adept2.base.configuration.ConfigurationException
-
- All Implemented Interfaces:
Serializable
- Direct Known Subclasses:
PropertyNotSetException
public class ConfigurationException extends AbortServiceException
AConfigurationException
will be thrown if an erroneous configuration is discovered. This can be done explicitly by a service which indicates that the service cannot be created, initialised or started or implicitly when validating aConfigurationDescription
fails.- Author:
- Kevin Goeser, Ulrich Kreher
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description ConfigurationException(String message)
Constructor call is forwarded to the corresponding constructor of the superclass.ConfigurationException(String message, Throwable cause)
Constructor call is forwarded to the corresponding constructor of the superclass.ConfigurationException(Throwable cause)
Constructor call is forwarded to the corresponding constructor of the superclass.
-
Method Summary
-
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
-
-
-
Constructor Detail
-
ConfigurationException
public ConfigurationException(String message)
Constructor call is forwarded to the corresponding constructor of the superclass.- Parameters:
message
- The message forwarded to the corresponding constructor of the superclass.- See Also:
RuntimeException(java.lang.String)
-
ConfigurationException
public ConfigurationException(String message, Throwable cause)
Constructor call is forwarded to the corresponding constructor of the superclass.- Parameters:
message
- The message forwarded to the corresponding constructor of the superclass.cause
- The cause of the exception is forwarded to the corresponding constructor of the superclass.- See Also:
RuntimeException(java.lang.String, java.lang.Throwable)
-
ConfigurationException
public ConfigurationException(Throwable cause)
Constructor call is forwarded to the corresponding constructor of the superclass.- Parameters:
cause
- The cause of the exception is forwarded to the corresponding constructor of the superclass.- See Also:
RuntimeException(java.lang.Throwable)
-
-