Known Direct Subclasses
|
Known Indirect Subclasses
IllegalTransactionStateException |
Exception thrown when the existence or non-existence of a transaction
amounts to an illegal state according to the transaction propagation
behavior that applies. |
InvalidIsolationLevelException |
Exception that gets thrown when an invalid isolation level is specified,
i.e. |
InvalidTimeoutException |
Exception that gets thrown when an invalid timeout is specified,
that is, the specified timeout valid is out of range or the
transaction manager implementation doesn't support timeouts. |
NestedTransactionNotSupportedException |
Exception thrown when attempting to work with a nested transaction
but nested transactions are not supported by the underlying backend. |
NoTransactionException |
Exception thrown when an operation is attempted that
relies on an existing transaction (such as setting
rollback status) and there is no existing transaction. |
TransactionSuspensionNotSupportedException |
Exception thrown when attempting to suspend an existing transaction
but transaction suspension is not supported by the underlying backend. |
|
Class Overview
Superclass for all transaction exceptions.
Public Constructors
public
TransactionException
(String msg)
Constructor for TransactionException.
public
TransactionException
(String msg, Throwable cause)
Constructor for TransactionException.
Parameters
msg
| the detail message |
cause
| the root cause from the transaction API in use
|