API Overview API Index Package Overview Direct link to this page
JDK 1.6
  javax.transaction.xa. XAException View Source
Author(s)
Since
Version
Serial
Hierarchy
 Object
      Throwable
          Exception
              XAException
Implements
Subclasses
Description
public exception XAException
The XAException is thrown by the Resource Manager (RM) to inform the Transaction Manager of an error encountered by the involved transaction.
See also:   
Constructors
public XAException ()
Create an XAException.
public XAException (int errcode)
  Create an XAException with a given error code.
public XAException (String s)
  Create an XAException with a given string.
Methods
Hide/Show inherited methods
publicsynchronizednative Throwable fillInStackTrace () [Inherited From Throwable]
  Fills in the execution stack trace.
public Throwable getCause () [Inherited From Throwable]
  Returns the cause of this throwable or null if the cause is nonexistent or unknown.
public String getLocalizedMessage () [Inherited From Throwable]
  Creates a localized description of this throwable.
public String getMessage () [Inherited From Throwable]
  Returns the detail message string of this throwable.
public StackTraceElement getStackTrace () [Inherited From Throwable]
  Provides programmatic access to the stack trace information printed by Throwable.printStackTrace().
publicsynchronized Throwable initCause (Throwable cause) [Inherited From Throwable]
  Initializes the cause of this throwable to the specified value.
public void printStackTrace () [Inherited From Throwable]
  Prints this throwable and its backtrace to the standard error stream.
public void printStackTrace (PrintStream s) [Inherited From Throwable]
  Prints this throwable and its backtrace to the specified print stream.
public void printStackTrace (PrintWriter s) [Inherited From Throwable]
  Prints this throwable and its backtrace to the specified print writer.
public void setStackTrace (StackTraceElement stackTrace) [Inherited From Throwable]
  Sets the stack trace elements that will be returned by Throwable.getStackTrace() and printed by Throwable.printStackTrace() and related methods.
public String toString () [Inherited From Throwable]
  Returns a short description of this throwable.
Fields
Hide/Show inherited fields
public int errorCode
The error code with which to create the SystemException.
publicfinalstatic int XA_HEURCOM = "7"
The transaction branch has been heuristically committed.
publicfinalstatic int XA_HEURHAZ = "8"
The transaction branch may have been heuristically completed.
publicfinalstatic int XA_HEURMIX = "5"
The transaction branch has been heuristically committed and rolled back.
publicfinalstatic int XA_HEURRB = "6"
The transaction branch has been heuristically rolled back.
publicfinalstatic int XA_NOMIGRATE = "9"
Resumption must occur where the suspension occurred.
publicfinalstatic int XA_RBBASE = "100"
The inclusive lower bound of the rollback codes.
publicfinalstatic int XA_RBCOMMFAIL = "101"
Indicates that the rollback was caused by a communication failure.
publicfinalstatic int XA_RBDEADLOCK = "102"
A deadlock was detected.
publicfinalstatic int XA_RBEND = "107"
The inclusive upper bound of the rollback error code.
publicfinalstatic int XA_RBINTEGRITY = "103"
A condition that violates the integrity of the resource was detected.
publicfinalstatic int XA_RBOTHER = "104"
The resource manager rolled back the transaction branch for a reason not on this list.
publicfinalstatic int XA_RBPROTO = "105"
A protocol error occurred in the resource manager.
publicfinalstatic int XA_RBROLLBACK = "100"
Indicates that the rollback was caused by an unspecified reason.
publicfinalstatic int XA_RBTIMEOUT = "106"
A transaction branch took too long.
publicfinalstatic int XA_RBTRANSIENT = "107"
May retry the transaction branch.
publicfinalstatic int XA_RDONLY = "3"
The transaction branch was read-only and has been committed.
publicfinalstatic int XA_RETRY = "4"
Routine returned with no effect and may be reissued.
publicfinalstatic int XAER_ASYNC = "-2"
There is an asynchronous operation already outstanding.
publicfinalstatic int XAER_DUPID = "-8"
The XID already exists.
publicfinalstatic int XAER_INVAL = "-5"
Invalid arguments were given.
publicfinalstatic int XAER_NOTA = "-4"
The XID is not valid.
publicfinalstatic int XAER_OUTSIDE = "-9"
The resource manager is doing work outside a global transaction.
publicfinalstatic int XAER_PROTO = "-6"
Routine was invoked in an inproper context.
publicfinalstatic int XAER_RMERR = "-3"
A resource manager error has occurred in the transaction branch.
publicfinalstatic int XAER_RMFAIL = "-7"
Resource manager is unavailable.
Nested Classes
Generated By: JavaOnTracks Doclet 0.1.4     ©Thibaut Colar