|
|||||||||
| 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
fr.umlv.javaodb.PersistenceException
fr.umlv.javaodb.RollbackException
public class RollbackException
This exception is raised by a persistent context
to indicate that the current context has been
rollbacked. A user code can catch this exception
and do what is required in that case.
Depending on the context's kind
this exception can be raised at different locations
to ensure coherence of the object states.
PersistenceContext,
Serialized Form| Constructor Summary | |
|---|---|
RollbackException(String message)
Creates an exception with a cause and a message. |
|
RollbackException(String message,
Throwable cause)
Creates an exception with a cause and a message. |
|
RollbackException(Throwable cause)
Creates an exception with a cause and a message. |
|
| 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(String message,
Throwable cause)
message - the messagecause - the cause of the exception.public RollbackException(String message)
message - the messagepublic RollbackException(Throwable cause)
cause - the cause of the exception.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||