Class IllegalTransactionStateException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- java.lang.RuntimeException
-
- io.micronaut.transaction.exceptions.TransactionException
-
- io.micronaut.transaction.exceptions.TransactionUsageException
-
- io.micronaut.transaction.exceptions.IllegalTransactionStateException
-
- All Implemented Interfaces:
java.io.Serializable
public class IllegalTransactionStateException extends TransactionUsageException
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:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description IllegalTransactionStateException(java.lang.String msg)
Constructor for IllegalTransactionStateException.IllegalTransactionStateException(java.lang.String msg, java.lang.Throwable cause)
Constructor for IllegalTransactionStateException.
-
-
-
Constructor Detail
-
IllegalTransactionStateException
public IllegalTransactionStateException(java.lang.String msg)
Constructor for IllegalTransactionStateException.- Parameters:
msg
- the detail message
-
IllegalTransactionStateException
public IllegalTransactionStateException(java.lang.String msg, java.lang.Throwable cause)
Constructor for IllegalTransactionStateException.- Parameters:
msg
- the detail messagecause
- the root cause from the transaction API in use
-
-