javax.persistence
public class: PersistenceException [javadoc |
source]
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
javax.persistence.PersistenceException
All Implemented Interfaces:
Serializable
Direct Known Subclasses:
RollbackException, OptimisticLockException, TransactionRequiredException, EntityExistsException, EntityNotFoundException, NoResultException, NonUniqueResultException
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.
| Methods from java.lang.Throwable: |
|---|
|
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString |
| Methods from java.lang.Object: |
|---|
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |