Package org.springframework.transaction
Class IllegalTransactionStateException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
org.springframework.core.NestedRuntimeException
org.springframework.transaction.TransactionException
org.springframework.transaction.TransactionUsageException
org.springframework.transaction.IllegalTransactionStateException
- All Implemented Interfaces:
Serializable
Exception thrown when the existence or non-existence of a transaction
amounts to an illegal state according to the transaction propagation
behavior that applies.
- Since:
- 21.01.2004
- Author:
- Juergen Hoeller
- See Also:
-
Constructor Summary
ConstructorDescriptionConstructor for IllegalTransactionStateException.IllegalTransactionStateException
(String msg, Throwable cause) Constructor for IllegalTransactionStateException. -
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
-
IllegalTransactionStateException
Constructor for IllegalTransactionStateException.- Parameters:
msg
- the detail message
-
IllegalTransactionStateException
Constructor for IllegalTransactionStateException.- Parameters:
msg
- the detail messagecause
- the root cause from the transaction API in use
-