java.io.Serializable
public class PersistenceException
extends java.lang.Exception
Modifier and Type | Field | Description |
---|---|---|
static long |
serialVersionUID |
Constructor | Description |
---|---|
PersistenceException() |
|
PersistenceException(java.lang.Exception e) |
Constructs a new PersistenceException that occured
because another exception was encountered during a
persistence operation such as a save or restore.
|
PersistenceException(java.lang.String reason) |
Constructs a new PersistenceException with the
specified exception explanation.
|
PersistenceException(java.lang.String reason,
java.lang.Exception e) |
Constructs a new PersistenceException based on a previous
exception during a persistence operation with the specified
exception explanation.
|
Modifier and Type | Method | Description |
---|---|---|
java.util.Enumeration<java.lang.Exception> |
getExceptionChain() |
|
java.lang.Exception |
getPriorException() |
public static final long serialVersionUID
public PersistenceException()
public PersistenceException(java.lang.String reason)
reason
- the reason for the exceptionpublic PersistenceException(java.lang.Exception e)
e
- the exception causing this exception to be createdpublic PersistenceException(java.lang.String reason, java.lang.Exception e)
reason
- the explanation for the exceptione
- the exception causing this exception to be created