com.interface21.transaction
Class HeuristicCompletionException
java.lang.Object
|
+--java.lang.Throwable
|
+--java.lang.Exception
|
+--java.lang.RuntimeException
|
+--com.interface21.core.NestedRuntimeException
|
+--com.interface21.transaction.TransactionException
|
+--com.interface21.transaction.HeuristicCompletionException
- All Implemented Interfaces:
- HasRootCause, java.io.Serializable
- public class HeuristicCompletionException
- extends TransactionException
Exception that represents a transaction failure caused by heuristics.
- Since:
- 17-Mar-2003
- Version:
- $Revision: 1.3 $
- Author:
- Rod Johnson, Juergen Hoeller
- See Also:
- Serialized Form
| Methods inherited from class java.lang.Throwable |
fillInStackTrace, getLocalizedMessage, printStackTrace, toString |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
STATE_UNKNOWN
public static final int STATE_UNKNOWN
- Values for the outcome state of a heuristically completed transaction.
STATE_COMMITTED
public static final int STATE_COMMITTED
STATE_ROLLED_BACK
public static final int STATE_ROLLED_BACK
STATE_MIXED
public static final int STATE_MIXED
HeuristicCompletionException
public HeuristicCompletionException(int outcomeState,
java.lang.Throwable ex)
getStateString
public static java.lang.String getStateString(int state)
getOutcomeState
public int getOutcomeState()
Rod Johnson and Spring contributors 2001-2003.