public class HeuristicCompletionException extends TransactionException
Constructor and Description |
---|
HeuristicCompletionException(io.micronaut.transaction.exceptions.HeuristicCompletionException.State outcomeState,
java.lang.Throwable cause)
Constructor for HeuristicCompletionException.
|
Modifier and Type | Method and Description |
---|---|
io.micronaut.transaction.exceptions.HeuristicCompletionException.State |
getOutcomeState() |
public HeuristicCompletionException(@NonNull io.micronaut.transaction.exceptions.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 io.micronaut.transaction.exceptions.HeuristicCompletionException.State getOutcomeState()
State#UNKNOWN
,
State#COMMITTED
,
State#ROLLED_BACK
,
State#MIXED