Package com.arjuna.ats.jts.exceptions
Class ExceptionCodes
java.lang.Object
com.arjuna.ats.jts.exceptions.ExceptionCodes
Various exception values that we use in the OTS in a number of
situations, particularly if the ORB does not support some of
the standard OTS SystemExceptions. In which case we will throw other
SystemExceptions and set the values in them to try to reflect the
same type of information we would have conveyed if we had been able to
throw the right type of exception.
- Since:
- JTS 1.0.
- Version:
- $Id: ExceptionCodes.java 2342 2006-03-30 13:06:17Z $
- Author:
- Mark Little (mark@arjuna.com)
-
Field Summary
Modifier and TypeFieldDescriptionstatic final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
INVALID_TRANSACTIONstatic final int
static final int
static final int
static final int
static final int
BAD_OPERATIONstatic final int
BAD_PARAMstatic final int
The Minor version numbers for some system exceptions we may raise.static final int
UNKNOWNstatic final int
static final int
static final int
static final int
static final int
TRANSACTION_REQUIREDstatic final int
TRANSACTION_ROLLEDBACKstatic final int
static final int
static final int
static final int
static final int
static final int
WRONG_TRANSACTION -
Constructor Summary
-
Method Summary
-
Field Details
-
OTS_GENERAL_BASE
public static final int OTS_GENERAL_BASEThe Minor version numbers for some system exceptions we may raise.- See Also:
-
INACTIVE_TRANSACTION
public static final int INACTIVE_TRANSACTION- See Also:
-
OTS_UNKNOWN_BASE
public static final int OTS_UNKNOWN_BASEUNKNOWN- See Also:
-
UNKNOWN_EXCEPTION
public static final int UNKNOWN_EXCEPTION- See Also:
-
GETTIMEOUT_FAILED
public static final int GETTIMEOUT_FAILED- See Also:
-
UNEXPECTED_SYSTEMEXCEPTION
public static final int UNEXPECTED_SYSTEMEXCEPTION- See Also:
-
SYNCHRONIZATION_EXCEPTION
public static final int SYNCHRONIZATION_EXCEPTION- See Also:
-
OTS_BAD_OPERATION_BASE
public static final int OTS_BAD_OPERATION_BASEBAD_OPERATION- See Also:
-
SERVERAA_COMMIT
public static final int SERVERAA_COMMIT- See Also:
-
SERVERAA_PREPARE
public static final int SERVERAA_PREPARE- See Also:
-
ATOMICACTION_COMMIT
public static final int ATOMICACTION_COMMIT- See Also:
-
ATOMICACTION_ROLLBACK
public static final int ATOMICACTION_ROLLBACK- See Also:
-
NO_TRANSACTION
public static final int NO_TRANSACTION- See Also:
-
HEURISTIC_COMMIT
public static final int HEURISTIC_COMMIT- See Also:
-
OTS_BAD_PARAM_BASE
public static final int OTS_BAD_PARAM_BASEBAD_PARAM- See Also:
-
INVALID_TIMEOUT
public static final int INVALID_TIMEOUT- See Also:
-
BAD_TRANSACTION_CONTEXT
public static final int BAD_TRANSACTION_CONTEXT- See Also:
-
TRANSACTION_ROLLEDBACK_BASE
public static final int TRANSACTION_ROLLEDBACK_BASETRANSACTION_ROLLEDBACK- See Also:
-
FAILED_TO_COMMIT
public static final int FAILED_TO_COMMIT- See Also:
-
ALREADY_ROLLEDBACK
public static final int ALREADY_ROLLEDBACK- See Also:
-
MARKED_ROLLEDBACK
public static final int MARKED_ROLLEDBACK- See Also:
-
INVALID_TRANSACTION_BASE
public static final int INVALID_TRANSACTION_BASEINVALID_TRANSACTION- See Also:
-
ALREADY_TERMINATED
public static final int ALREADY_TERMINATED- See Also:
-
UNKNOWN_INVALID
public static final int UNKNOWN_INVALID- See Also:
-
ALREADY_BEGUN
public static final int ALREADY_BEGUN- See Also:
-
ADD_FAILED
public static final int ADD_FAILED- See Also:
-
UNAVAILABLE_COORDINATOR
public static final int UNAVAILABLE_COORDINATOR- See Also:
-
UNAVAILABLE_TRANSACTION
public static final int UNAVAILABLE_TRANSACTION- See Also:
-
INVALID_ACTION
public static final int INVALID_ACTION- See Also:
-
WRONG_TRANSACTION_BASE
public static final int WRONG_TRANSACTION_BASEWRONG_TRANSACTION- See Also:
-
NOT_CURRENT_TRANSACTION
public static final int NOT_CURRENT_TRANSACTION- See Also:
-
SERVERAA_NO_CONTROL
public static final int SERVERAA_NO_CONTROL- See Also:
-
TRANSACTION_REQUIRED_BASE
public static final int TRANSACTION_REQUIRED_BASETRANSACTION_REQUIRED- See Also:
-
NO_TXCONTEXT
public static final int NO_TXCONTEXT- See Also:
-
-
Constructor Details
-
ExceptionCodes
public ExceptionCodes()
-