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.NoTransactionException |
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.
Public Constructors | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Constructor for NoTransactionException.
| |||||||||||
Constructor for NoTransactionException.
|
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
From class
org.springframework.core.NestedRuntimeException
| |||||||||||
From class
java.lang.Throwable
| |||||||||||
From class
java.lang.Object
|
Constructor for NoTransactionException.
msg | the detail message |
---|
Constructor for NoTransactionException.
msg | the detail message |
---|---|
cause | the root cause from the transaction API in use |