Top Description Constructors Methods
org.springframework.transaction

public abstract Class TransactionException

extends NestedRuntimeException
Class Inheritance
Known Direct Subclasses
org.springframework.transaction.TransactionSystemException, org.springframework.transaction.TransactionTimedOutException, org.springframework.transaction.TransactionUsageException, org.springframework.transaction.UnexpectedRollbackException, org.springframework.transaction.CannotCreateTransactionException, org.springframework.transaction.HeuristicCompletionException
Annotations
@SuppressWarnings:serial
Imports
org.springframework.core.NestedRuntimeException

Superclass for all transaction exceptions.
Author
Rod Johnson
Since
17.03.2003

Constructor Summary

AccessConstructor and Description
public
TransactionException(String
the detail message
msg
)

Constructor for TransactionException.

public
TransactionException(String
the detail message
msg
,
Throwable
the root cause from the transaction API in use
cause
)

Constructor for TransactionException.

Method Summary

Inherited from org.springframework.core.NestedRuntimeException:
containsgetMostSpecificCausegetRootCause

Constructor Detail

TransactionExceptionback to summary
public TransactionException(String msg)

Constructor for TransactionException.

Parameters
msg:String

the detail message

TransactionExceptionback to summary
public TransactionException(String msg, Throwable cause)

Constructor for TransactionException.

Parameters
msg:String

the detail message

cause:Throwable

the root cause from the transaction API in use