| java.lang.Object | ||||||
| ↳ | java.lang.Throwable | |||||
| ↳ | java.lang.Exception | |||||
| ↳ | java.lang.RuntimeException | |||||
| ↳ | org.springframework.core.NestedRuntimeException | |||||
| ↳ | org.springframework.transaction.TransactionException | |||||
| ↳ | org.springframework.transaction.HeuristicCompletionException | |||||
Exception that represents a transaction failure caused by a heuristic decision on the side of the transaction coordinator.
| Constants | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| int | STATE_COMMITTED | ||||||||||
| int | STATE_MIXED | ||||||||||
| int | STATE_ROLLED_BACK | ||||||||||
| int | STATE_UNKNOWN | Values for the outcome state of a heuristically completed transaction. | |||||||||
| Public Constructors | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
Constructor for HeuristicCompletionException.
| |||||||||||
| Public Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
Return the outcome state of the transaction state,
as one of the constants in this class.
| |||||||||||
|
[Expand]
Inherited Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
From class
org.springframework.core.NestedRuntimeException
| |||||||||||
From class
java.lang.Throwable
| |||||||||||
From class
java.lang.Object
| |||||||||||
Values for the outcome state of a heuristically completed transaction.
Constructor for HeuristicCompletionException.
| outcomeState | the outcome state of the transaction |
|---|---|
| cause | the root cause from the transaction API in use |
Return the outcome state of the transaction state, as one of the constants in this class.