| |
|
| java.lang.Object java.lang.Throwable java.lang.Exception javax.transaction.xa.XAException
XAException | public class XAException extends Exception implements Serializable(Code) | | An XAException is an exception thrown by a Resource Manager to inform the
Transaction Manager of an error which has occurred in relation to a
transaction branch. In addition to the usual exception message, an
XAException carries an errorCode value which provides information about the
error, as defined by the series of integer values defined by the XAException
class.
|
XAER_ASYNC | final public static int XAER_ASYNC(Code) | | Code which means that there is already an asynchronous operation
outstanding
|
XAER_DUPID | final public static int XAER_DUPID(Code) | | Code which means that the XID already exists
|
XAER_INVAL | final public static int XAER_INVAL(Code) | | Code which means that invalid arguments were supplied
|
XAER_NOTA | final public static int XAER_NOTA(Code) | | Code which means that the XID is not valid
|
XAER_OUTSIDE | final public static int XAER_OUTSIDE(Code) | | Work is being done by the Resource Manager outside the boundaries of a
global transaction.
|
XAER_PROTO | final public static int XAER_PROTO(Code) | | Code which means that the method was invoked in an improper context
|
XAER_RMERR | final public static int XAER_RMERR(Code) | | Code which means that a Resource Manager error has occurred for the
transaction branch
|
XAER_RMFAIL | final public static int XAER_RMFAIL(Code) | | Code which means that the Resource Manager is unavailable
|
XA_HEURCOM | final public static int XA_HEURCOM(Code) | | Code which means that the transaction branch has been heuristically
committed
|
XA_HEURHAZ | final public static int XA_HEURHAZ(Code) | | Code which means that the transaction branch may have been heuristically
completed
|
XA_HEURMIX | final public static int XA_HEURMIX(Code) | | Code which means that the transaction branch has been heuristically
committed and rolled back
|
XA_HEURRB | final public static int XA_HEURRB(Code) | | Code which means that the transaction branch has been heuristically
rolled back
|
XA_NOMIGRATE | final public static int XA_NOMIGRATE(Code) | | Code which means that resumption must occur where the suspension occurred
|
XA_RBBASE | final public static int XA_RBBASE(Code) | | Code which contains the inclusive lower bound of the rollback error codes
|
XA_RBCOMMFAIL | final public static int XA_RBCOMMFAIL(Code) | | Code which means that rollback was caused by a communication failure
|
XA_RBDEADLOCK | final public static int XA_RBDEADLOCK(Code) | | Code which means that a failure occurred because a deadlock was detected
|
XA_RBEND | final public static int XA_RBEND(Code) | | Code which contains the inclusive upper bound of the rollback error codes
|
XA_RBINTEGRITY | final public static int XA_RBINTEGRITY(Code) | | Code which means that a condition was detected than implies a violation
of the integrity of the resource
|
XA_RBOTHER | final public static int XA_RBOTHER(Code) | | Code which means that the Resource Manager rolled back the transaction
branch for a reason not separately listed
|
XA_RBPROTO | final public static int XA_RBPROTO(Code) | | Code which means that a protocol error occurred in the Resource Manager
|
XA_RBROLLBACK | final public static int XA_RBROLLBACK(Code) | | Code which means that the rollback occurred for an unspecified reason
|
XA_RBTIMEOUT | final public static int XA_RBTIMEOUT(Code) | | Code which means that a transaction branch took too long
|
XA_RBTRANSIENT | final public static int XA_RBTRANSIENT(Code) | | Code which means that the caller may retry the transaction branch
|
XA_RDONLY | final public static int XA_RDONLY(Code) | | Code which means that the transaction branch was read only and has been
committed
|
XA_RETRY | final public static int XA_RETRY(Code) | | Code which means that the method returned with no effect and can be
reissued
|
errorCode | public int errorCode(Code) | | The errorCode which details the error that has occurred
|
XAException | public XAException()(Code) | | Creates an XAException with no message or error code
|
XAException | public XAException(String theMessage)(Code) | | Creates an XAException with a supplied message and no error code
Parameters: theMessage - a String containing the exception message |
XAException | public XAException(int errorCode)(Code) | | Creates an XAException with a specified error code but no message
Parameters: errorCode - an integer containing one of the XAException errorCode values |
|
|
|