Package org.springframework.transaction
Class CannotCreateTransactionException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
org.springframework.core.NestedRuntimeException
org.springframework.transaction.TransactionException
org.springframework.transaction.CannotCreateTransactionException
- All Implemented Interfaces:
Serializable
- Direct Known Subclasses:
NestedTransactionNotSupportedException
,TransactionSuspensionNotSupportedException
Exception thrown when a transaction can't be created using an
underlying transaction API such as JTA.
- Since:
- 17.03.2003
- Author:
- Rod Johnson
- See Also:
-
Constructor Summary
ConstructorDescriptionConstructor for CannotCreateTransactionException.CannotCreateTransactionException
(String msg, Throwable cause) Constructor for CannotCreateTransactionException. -
Method Summary
Methods inherited from class org.springframework.core.NestedRuntimeException
contains, getMostSpecificCause, getRootCause
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
CannotCreateTransactionException
Constructor for CannotCreateTransactionException.- Parameters:
msg
- the detail message
-
CannotCreateTransactionException
Constructor for CannotCreateTransactionException.- Parameters:
msg
- the detail messagecause
- the root cause from the transaction API in use
-