org.mycore.common
Class MCRConfigurationException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by java.lang.RuntimeException
              extended by org.mycore.common.MCRException
                  extended by org.mycore.common.MCRConfigurationException
All Implemented Interfaces:
Serializable

public class MCRConfigurationException
extends MCRException

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: 13085 $ $Date: 2008-02-06 18:27:24 +0100 (Mi, 06 Feb 2008) $
Author:
Jens Kupferschmidt, Frank Lützenkirchen
See Also:
Serialized Form

Field Summary
 
Fields inherited from class org.mycore.common.MCRException
exception
 
Constructor Summary
MCRConfigurationException(String message)
          Creates a new MCRConfigurationException with an error message
MCRConfigurationException(String message, Exception exception)
          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
getException, getStackTraceAsString, getStackTraceAsString, toString
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

MCRConfigurationException

public MCRConfigurationException(String message)
Creates a new MCRConfigurationException with an error message

Parameters:
message - the error message for this exception

MCRConfigurationException

public MCRConfigurationException(String message,
                                 Exception exception)
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 exception
exception - the exception that was thrown by an underlying system