Package org.mycore.common.config
Class MCRConfigurationException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
org.mycore.common.MCRException
org.mycore.common.config.MCRConfigurationException
- All Implemented Interfaces:
Serializable
- Direct Known Subclasses:
MCRCryptCipherConfigurationException
Instances of this class represent an exception thrown because of an error in the MyCoRe configuration. Normally this
will be the case when a configuration property that is required is not set or has an illegal value.
- Version:
- $Revision$ $Date$
- Author:
- Jens Kupferschmidt, Frank Lützenkirchen
- See Also:
-
Constructor Summary
ConstructorDescriptionMCRConfigurationException
(String message) Creates a new MCRConfigurationException with an error messageMCRConfigurationException
(String message, Throwable cause) Creates a new MCRConfigurationException with an error message and a reference to an exception thrown by an underlying system. -
Method Summary
Methods inherited from class org.mycore.common.MCRException
getStackTraceAsString, getStackTraceAsString
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
MCRConfigurationException
Creates a new MCRConfigurationException with an error message- Parameters:
message
- the error message for this exception
-
MCRConfigurationException
Creates a new MCRConfigurationException with an error message and a reference to an exception thrown by an underlying system.- Parameters:
message
- the error message for this exceptioncause
- the exception that was thrown by an underlying system
-