Top Description Constructors
org.springframework.transaction

public Class NoTransactionException

extends TransactionUsageException
Class Inheritance
Known Direct Subclasses
org.springframework.transaction.reactive.TransactionContextManager.NoTransactionInContextException
Annotations
@SuppressWarnings:serial

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

Constructor Summary

AccessConstructor and Description
public
NoTransactionException(String
the detail message
msg
)

Constructor for NoTransactionException.

public
NoTransactionException(String
the detail message
msg
,
Throwable
the root cause from the transaction API in use
cause
)

Constructor for NoTransactionException.

Constructor Detail

NoTransactionExceptionback to summary
public NoTransactionException(String msg)

Constructor for NoTransactionException.

Parameters
msg:String

the detail message

NoTransactionExceptionback to summary
public NoTransactionException(String msg, Throwable cause)

Constructor for NoTransactionException.

Parameters
msg:String

the detail message

cause:Throwable

the root cause from the transaction API in use