Package org.springframework.transaction
Class TransactionUsageException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
org.springframework.core.NestedRuntimeException
org.springframework.transaction.TransactionException
org.springframework.transaction.TransactionUsageException
- All Implemented Interfaces:
Serializable
- Direct Known Subclasses:
IllegalTransactionStateException
,InvalidIsolationLevelException
,InvalidTimeoutException
,NoTransactionException
Superclass for exceptions caused by inappropriate usage of
a Spring transaction API.
- Since:
- 22.03.2003
- Author:
- Rod Johnson
- See Also:
-
Constructor Summary
ConstructorDescriptionConstructor for TransactionUsageException.TransactionUsageException
(String msg, Throwable cause) Constructor for TransactionUsageException. -
Method Summary
Methods inherited from class org.springframework.core.NestedRuntimeException
contains, getMessage, getMostSpecificCause, getRootCause
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
TransactionUsageException
Constructor for TransactionUsageException.- Parameters:
msg
- the detail message
-
TransactionUsageException
Constructor for TransactionUsageException.- Parameters:
msg
- the detail messagecause
- the root cause from the transaction API in use
-