public static class Transaction.Rollback extends java.lang.Exception
Exception thrown in the run method to rollback the transaction.
If constructed with a cause, the cause is propagated through the execute() call via the InvocationRunException exception.
| Modifier and Type | Field and Description |
|---|---|
static long |
serialVersionUID
Serialization version.
|
| Constructor and Description |
|---|
Rollback()
Creates a rollback exception.
|
Rollback(java.lang.String message,
java.lang.Throwable cause)
Creates a rollback exception that is propagated to the caller.
|
Rollback(java.lang.Throwable cause)
Creates a rollback exception that is propagated to the caller.
|
public static final long serialVersionUID
public Rollback()
public Rollback(java.lang.Throwable cause)
cause - The Throwable causing the exception.public Rollback(java.lang.String message, java.lang.Throwable cause)
message - Message to include in the exception.cause - The throwable causing the exception.