org.archiviststoolkit.mydomain
Class PersistenceException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by org.archiviststoolkit.mydomain.PersistenceException
All Implemented Interfaces:
java.io.Serializable

public class PersistenceException
extends java.lang.Exception

Thrown when we see a serious persistence issue.

See Also:
Serialized Form

Constructor Summary
PersistenceException(java.lang.String message)
          Constructor for construction of a new persistence exception.
PersistenceException(java.lang.String message, java.lang.Throwable cause)
          Constructor for wrapping internal exceptions.
 
Method Summary
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

PersistenceException

public PersistenceException(java.lang.String message,
                            java.lang.Throwable cause)
Constructor for wrapping internal exceptions.

Parameters:
message - string for human consumption
cause - the original exception which caused this one

PersistenceException

public PersistenceException(java.lang.String message)
Constructor for construction of a new persistence exception.

Parameters:
message - string for human consumption