|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjava.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
javax.persistence.PersistenceException
javax.persistence.RollbackException
public class RollbackException
The RollbackException is thrown by the persistence provider when EntityTransaction. commit fails.
| Constructor Summary | |
|---|---|
RollbackException()
Default constructor : builds an exception with an empty message. |
|
RollbackException(String message)
Build an exception with the given message. |
|
RollbackException(String message,
Throwable causedByThrowable)
Builds an exception with a given message and given exception. |
|
RollbackException(Throwable causedByThrowable)
Build an exception with the given exception. |
|
| Method Summary |
|---|
| Methods inherited from class java.lang.Throwable |
|---|
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public RollbackException()
public RollbackException(String message)
message - the given message to use.public RollbackException(Throwable causedByThrowable)
causedByThrowable - the cause of this exception.
public RollbackException(String message,
Throwable causedByThrowable)
message - the message of this exception.causedByThrowable - the cause of this exception.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||