public class HeuristicCompletionException extends TransactionException
| Modifier and Type | Class and Description |
|---|---|
static class |
HeuristicCompletionException.State
Possible state outcomes.
|
| Constructor and Description |
|---|
HeuristicCompletionException(HeuristicCompletionException.State outcomeState,
java.lang.Throwable cause)
Constructor for HeuristicCompletionException.
|
| Modifier and Type | Method and Description |
|---|---|
HeuristicCompletionException.State |
getOutcomeState() |
public HeuristicCompletionException(@NonNull
HeuristicCompletionException.State outcomeState,
java.lang.Throwable cause)
outcomeState - the outcome state of the transactioncause - the root cause from the transaction API in use@NonNull public HeuristicCompletionException.State getOutcomeState()
HeuristicCompletionException.State.UNKNOWN,
HeuristicCompletionException.State.COMMITTED,
HeuristicCompletionException.State.ROLLED_BACK,
HeuristicCompletionException.State.MIXED