java.lang.Object | +--java.lang.Throwable | +--java.lang.Exception | +--javax.transaction.xa.XAException
The XAException is thown by the Resource Manager (RM) to inform the Transaction Manager of error encountered for the transaction involved.
errorCode The error code to create the SystemException with | |
XA_HEURCOM The transaction branch has been heuristically committed. | |
XA_HEURHAZ The transaction branch may have been heuristically completed. | |
XA_HEURMIX The transaction branch has been heuristically committed and rolled back. | |
XA_HEURRB The transaction branch has been heuristically rolled back. | |
XA_NOMIGRATE Resumption must occur where suspension occured. | |
XA_RBBASE The inclusive lower bound oof the rollback codes. | |
XA_RBCOMMFAIL Rollback was caused by communication failure. | |
XA_RBDEADLOCK A deadlock was detected. | |
XA_RBEND The inclusive upper bound of the rollback error code. | |
XA_RBINTEGRITY A condition that violates the integrity of the resource was detected. | |
XA_RBOTHER The resource manager rolled back the transaction branch for a reason not on this list. | |
XA_RBPROTO A protocol error occured in the resource manager. | |
XA_RBROLLBACK Rollback was caused by unspecified reason. | |
XA_RBTIMEOUT A transaction branch took too long. | |
XA_RBTRANSIENT May retry the transaction branch. | |
XA_RDONLY The transaction branch has been read-only and has been committed. | |
XA_RETRY Routine returned with no effect and may be reissued. | |
XAER_ASYNC Asynchronous operation already outstanding. | |
XAER_DUPID The XID already exists. | |
XAER_INVAL Invalid arguments were given. | |
XAER_NOTA The XID is not valid. | |
XAER_OUTSIDE The resource manager is doing work outside global transaction. | |
XAER_PROTO Routine was invoked in an inproper context. | |
XAER_RMERR A resource manager error has occured in the transaction branch. | |
XAER_RMFAIL Resource manager is unavailable. |
XAException() Create an XAException. | |
XAException(int errcode) Create an XAException with a given error code. | |
XAException(java.lang.String s) Create an XAException with a given string. |
Methods inherited from class java.lang.Throwable |
fillInStackTrace, getLocalizedMessage, getMessage, printStackTrace, printStackTrace, printStackTrace, toString |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
public interrorCode
public static final intXA_RBBASE
public static final intXA_RBROLLBACK
public static final intXA_RBCOMMFAIL
public static final intXA_RBDEADLOCK
public static final intXA_RBINTEGRITY
public static final intXA_RBOTHER
public static final intXA_RBPROTO
public static final intXA_RBTIMEOUT
public static final intXA_RBTRANSIENT
public static final intXA_RBEND
public static final intXA_NOMIGRATE
public static final intXA_HEURHAZ
public static final intXA_HEURCOM
public static final intXA_HEURRB
public static final intXA_HEURMIX
public static final intXA_RETRY
public static final intXA_RDONLY
public static final intXAER_ASYNC
public static final intXAER_RMERR
public static final intXAER_NOTA
public static final intXAER_INVAL
public static final intXAER_PROTO
public static final intXAER_RMFAIL
public static final intXAER_DUPID
public static final intXAER_OUTSIDE
publicXAException()
publicXAException(java.lang.String s)
publicXAException(int errcode)