| 
 | |||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectjava.lang.Throwable
java.lang.Exception
javax.transaction.xa.XAException
The XAException is thrown by resource managers in case of problems.
| Field Summary | |
|  int | errorCodeThe error code. | 
| static int | XA_HEURCOMError code indicating that a heuristic commit decision was made. | 
| static int | XA_HEURHAZError code indicating that a heuristic decision may have been made. | 
| static int | XA_HEURMIXError code indicating that a heuristic mixed decision was made. | 
| static int | XA_HEURRBError code indicating that a heuristic rollback decision was made. | 
| static int | XA_NOMIGRATEError code indicating that the transaction resumption must happen where the suspension occurred. | 
| static int | XA_RBBASEThis is not an error code, but the same as the rollback error code with the lowest number. | 
| static int | XA_RBCOMMFAILRollback error code indicating that the rollback happened due to a communications failure. | 
| static int | XA_RBDEADLOCKRollback error code indicating that the rollback happened because deadlock was detected. | 
| static int | XA_RBENDThis is not an error code, but the same as the rollback error code with the highest number. | 
| static int | XA_RBINTEGRITYRollback error code indicating that the rollback happened because an internal integrity check failed. | 
| static int | XA_RBOTHERRollback error code indicating that the rollback happened for some reason not fitting any of the other rollback error codes. | 
| static int | XA_RBPROTORollback error code indicating that the rollback happened due to a protocol error in the resource manager. | 
| static int | XA_RBROLLBACKRollback error code indicating that the rollback happened for an unspecified reason. | 
| static int | XA_RBTIMEOUTRollback error code indicating that the rollback happened because of a timeout. | 
| static int | XA_RBTRANSIENTRollback error code indicating that the rollback happened due to a transient failure. | 
| static int | XA_RDONLYError code indicating that the transaction branch was read-only, and has already been committed. | 
| static int | XA_RETRYError code indicating that the method invoked returned without having any effect, and that it may be invoked again. | 
| static int | XAER_ASYNCError code indicating that an asynchronous operation is outstanding. | 
| static int | XAER_DUPIDError code indicating that a Xid given as an argument is already known to the resource manager. | 
| static int | XAER_INVALError code indicating that invalid arguments were passed. | 
| static int | XAER_NOTAError code indicating that an Xidis not valid. | 
| static int | XAER_OUTSIDEError code indicating that the resource manager is doing work outside the global transaction. | 
| static int | XAER_PROTOError code indicating a protocol error. | 
| static int | XAER_RMERRError code indicating that a resource manager error has occurred. | 
| static int | XAER_RMFAILError code indicating that the resource manager has failed and is not available. | 
| Constructor Summary | |
| XAException()Creates new XAExceptionwithout detail message. | |
| XAException(int errorCode)Constructs an XAExceptionfor the specified error code. | |
| XAException(String msg)Constructs an XAExceptionwith the specified detail
  message. | |
| Methods inherited from class java.lang.Throwable | 
| fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString | 
| Methods inherited from class java.lang.Object | 
| clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait | 
| Field Detail | 
public int errorCode
public static final int XAER_ASYNC
public static final int XAER_RMERR
public static final int XAER_NOTA
Xid is not valid.
public static final int XAER_INVAL
public static final int XAER_PROTO
public static final int XAER_RMFAIL
public static final int XAER_DUPID
public static final int XAER_OUTSIDE
public static final int XA_RDONLY
public static final int XA_RETRY
public static final int XA_HEURMIX
public static final int XA_HEURRB
public static final int XA_HEURCOM
public static final int XA_HEURHAZ
public static final int XA_NOMIGRATE
public static final int XA_RBBASE
public static final int XA_RBROLLBACK
public static final int XA_RBCOMMFAIL
public static final int XA_RBDEADLOCK
public static final int XA_RBINTEGRITY
public static final int XA_RBOTHER
public static final int XA_RBPROTO
public static final int XA_RBTIMEOUT
public static final int XA_RBTRANSIENT
public static final int XA_RBEND
| Constructor Detail | 
public XAException()
XAException without detail message.
public XAException(String msg)
XAException with the specified detail
  message.
msg - the detail message.public XAException(int errorCode)
XAException for the specified error code.
errorCode - the error code.| 
 | |||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||