Class HeuristicCompletionException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
io.micronaut.transaction.exceptions.TransactionException
io.micronaut.transaction.exceptions.HeuristicCompletionException
- All Implemented Interfaces:
 Serializable
Exception that represents a transaction failure caused by a heuristic
 decision on the side of the transaction coordinator.
- Since:
 - 17.03.2003
 - Author:
 - Rod Johnson, Juergen Hoeller, graemerocher
 - See Also:
 
- 
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic enumPossible state outcomes. - 
Constructor Summary
ConstructorsConstructorDescriptionHeuristicCompletionException(@NonNull HeuristicCompletionException.State outcomeState, Throwable cause) Constructor for HeuristicCompletionException. - 
Method Summary
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString 
- 
Constructor Details
- 
HeuristicCompletionException
public HeuristicCompletionException(@NonNull @NonNull HeuristicCompletionException.State outcomeState, Throwable cause) Constructor for HeuristicCompletionException.- Parameters:
 outcomeState- the outcome state of the transactioncause- the root cause from the transaction API in use
 
 - 
 - 
Method Details
- 
getOutcomeState
- Returns:
 - Return the outcome state of the transaction state, as one of the constants in this class.
 - See Also:
 
 
 -