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, EntityExistsException, EntityNotFoundException, TransactionRequiredException, OptimisticLockException, 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.
- author:
< - a href="mailto:bill@jboss.org">Bill Burke
| Methods from java.lang.Throwable: |
|---|
|
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString |