Name

XAException

Synopsis

This exception is thrown by a resource manager when an error occurs while handling a request from the transaction manager. The static error codes allow the transaction manager to determine the cause of the error.

                  Exceptions
public class XAException extends Exception {
// Public Constructors
   public XAException();  
   public XAException( int errcode);  
   public XAException( String s);  
// Public Constants
   public static final int XA_HEURCOM;                           // =7
   public static final int XA_HEURHAZ;                           // =8
   public static final int XA_HEURMIX;                           // =5
   public static final int XA_HEURRB;                            // =6
   public static final int XA_NOMIGRATE;                         // =9
   public static final int XA_RBBASE;                            // =100
   public static final int XA_RBCOMMFAIL;                        // =101
   public static final int XA_RBDEADLOCK;                        // =102
   public static final int XA_RBEND;                             // =107
   public static final int XA_RBINTEGRITY;                       // =103
   public static final int XA_RBOTHER;                           // =104
   public static final int XA_RBPROTO;                           // =105
   public static final int XA_RBROLLBACK;                        // =100
   public static final int XA_RBTIMEOUT;                         // =106
   public static final int XA_RBTRANSIENT;                       // =107
   public static final int XA_RDONLY;                            // =3
   public static final int XA_RETRY;                             // =4
   public static final int XAER_ASYNC;                           // =-2
   public static final int XAER_DUPID;                           // =-8
   public static final int XAER_INVAL;                           // =-5
   public static final int XAER_NOTA;                            // =-4
   public static final int XAER_OUTSIDE;                         // =-9 public static final int  ...

Get Java Enterprise in a Nutshell, Second Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.