spring-framework / org.springframework.transaction / NoTransactionException

NoTransactionException

open class NoTransactionException : TransactionUsageException

Exception thrown when an operation is attempted that relies on an existing transaction (such as setting rollback status) and there is no existing transaction. This represents an illegal usage of the transaction API.

Author
Rod Johnson

Since
17.03.2003

Constructors

<init>

NoTransactionException(msg: String)
NoTransactionException(msg: String, cause: Throwable)

Constructor for NoTransactionException.