| java.lang.Object java.lang.Throwable java.lang.Exception java.lang.RuntimeException javax.persistence.PersistenceException
All known Subclasses: javax.persistence.OptimisticLockException, javax.persistence.RollbackException, javax.persistence.NoResultException, javax.persistence.NonUniqueResultException, javax.persistence.EntityExistsException, javax.persistence.TransactionRequiredException, javax.persistence.EntityNotFoundException,
PersistenceException | public class PersistenceException extends RuntimeException (Code) | | Thrown by the persistence provider when a problem occurs.
All instances of PersistenceException except for instances of
NoResultException and
NonUniqueResultException will cause
the current transaction, if one is active, to be marked for rollback.
since: Java Persistence 1.0 |
PersistenceException | public PersistenceException()(Code) | | Constructs a new PersistenceException exception
with null as its detail message.
|
PersistenceException | public PersistenceException(String message)(Code) | | Constructs a new PersistenceException exception
with the specified detail message.
Parameters: message - the detail message. |
PersistenceException | public PersistenceException(String message, Throwable cause)(Code) | | Constructs a new PersistenceException exception
with the specified detail message and cause.
Parameters: message - the detail message. Parameters: cause - the cause. |
PersistenceException | public PersistenceException(Throwable cause)(Code) | | Constructs a new PersistenceException exception
with the specified cause.
Parameters: cause - the cause. |
|
|