Exception hierarchy for Spring's transaction infrastructure, independent of any specific transaction management system. Contains transaction manager, definition, and status interfaces.


PlatformTransactionManager This is the central interface in Spring's transaction infrastructure. 
SavepointManager Interface that specifies an API to programmatically manage transaction savepoints in a generic fashion. 
TransactionDefinition Interface that defines Spring-compliant transaction properties. 
TransactionStatus Representation of the status of a transaction. 


CannotCreateTransactionException Exception thrown when a transaction can't be created using an underlying transaction API such as JTA. 
HeuristicCompletionException Exception that represents a transaction failure caused by a heuristic decision on the side of the transaction coordinator. 
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. 
TransactionException Superclass for all transaction exceptions. 
TransactionSuspensionNotSupportedException Exception thrown when attempting to suspend an existing transaction but transaction suspension is not supported by the underlying backend. 
TransactionSystemException Exception thrown when a general transaction system error is encountered, like on commit or rollback. 
TransactionTimedOutException Exception to be thrown when a transaction has timed out. 
TransactionUsageException Superclass for exceptions caused by inappropriate usage of a Spring transaction API. 
UnexpectedRollbackException Thrown when an attempt to commit a transaction resulted in an unexpected rollback.