org.mycore.common
Class MCRPersistenceException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
org.mycore.common.MCRException
org.mycore.common.MCRPersistenceException
- All Implemented Interfaces:
- Serializable
public class MCRPersistenceException
- extends MCRException
Instances of this class represent a general exception thrown by the
persistency layer of the MyCoRe implementation. This will be the case when
the datastore reports an error, for example.
- 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
MCRPersistenceException
public MCRPersistenceException(String message)
- Creates a new MCRPersistenceException with an error message
- Parameters:
message - the error message for this exception
MCRPersistenceException
public MCRPersistenceException(String message,
Exception exception)
- Creates a new MCRPersistenceException with an error message and a
reference to an exception thrown by an underlying system.
- Parameters:
message - the error message for this exceptionexception - the exception that was thrown by an underlying system