public class HeuristicCompletionException extends TransactionException
| Modifier and Type | Field and Description | 
|---|---|
| static int | STATE_COMMITTEDCommitted outcome state. | 
| static int | STATE_MIXEDMixed outcome state. | 
| static int | STATE_ROLLED_BACKRolledback outcome state. | 
| static int | STATE_UNKNOWNUnknown outcome state. | 
| Constructor and Description | 
|---|
| HeuristicCompletionException(int outcomeState,
                            Throwable cause)Constructor for HeuristicCompletionException. | 
| Modifier and Type | Method and Description | 
|---|---|
| int | getOutcomeState()Return the outcome state of the transaction state,
 as one of the constants in this class. | 
| static String | getStateString(int state) | 
contains, getMessage, getMostSpecificCause, getRootCauseaddSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toStringpublic static final int STATE_UNKNOWN
public static final int STATE_COMMITTED
public static final int STATE_ROLLED_BACK
public static final int STATE_MIXED
public HeuristicCompletionException(int outcomeState,
                                    Throwable cause)
outcomeState - the outcome state of the transactioncause - the root cause from the transaction API in usepublic static String getStateString(int state)
public int getOutcomeState()
STATE_UNKNOWN, 
STATE_COMMITTED, 
STATE_ROLLED_BACK, 
STATE_MIXED