org.dasein.persist
Class PersistenceException
java.lang.Object
java.lang.Throwable
java.lang.Exception
org.dasein.persist.PersistenceException
- All Implemented Interfaces:
- Serializable
- Direct Known Subclasses:
- DataIntegrityException
public class PersistenceException
- extends Exception
Represents an error accessing some sort of data store. This
class generally encapsulates an underlying data source exception
explaining the true nature of the error.
Last modified $Date: 2005/06/09 17:44:57 $
- Version:
- $Revision: 1.1 $
- Author:
- George Reese
- See Also:
- Serialized Form
|
Constructor Summary |
PersistenceException()
Constructs a new persistence exception that appears to
have happened for new good readon whatsoever. |
PersistenceException(Exception cse)
Constructs a new persistence exception that results from the
specified data store exception. |
PersistenceException(String msg)
Constructs a new persistence exception with the specified
explanation. |
| Methods inherited from class java.lang.Throwable |
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString |
PersistenceException
public PersistenceException()
- Constructs a new persistence exception that appears to
have happened for new good readon whatsoever.
PersistenceException
public PersistenceException(String msg)
- Constructs a new persistence exception with the specified
explanation.
- Parameters:
msg - the explanation for the error
PersistenceException
public PersistenceException(Exception cse)
- Constructs a new persistence exception that results from the
specified data store exception.
- Parameters:
cse - the cause for this persistence exception
getRootCause
public Exception getRootCause()
- Returns:
- the cause of this exception