Java javax.transaction.xa XAException fields, constructors, methods, implement or subclass

Example usage for Java javax.transaction.xa XAException fields, constructors, methods, implement or subclass

Introduction

In this page you can find the methods, fields and constructors for javax.transaction.xa XAException.

The text is from its open source code.

Field

intXA_RBBASE
The inclusive lower bound of the rollback codes.
intXA_RBROLLBACK
Indicates that the rollback was caused by an unspecified reason.
intXA_RBCOMMFAIL
Indicates that the rollback was caused by a communication failure.
intXA_RBDEADLOCK
A deadlock was detected.
intXA_RBOTHER
The resource manager rolled back the transaction branch for a reason not on this list.
intXA_RBPROTO
A protocol error occurred in the resource manager.
intXA_RBTIMEOUT
A transaction branch took too long.
intXA_HEURHAZ
The transaction branch may have been heuristically completed.
intXA_HEURCOM
The transaction branch has been heuristically committed.
intXA_HEURRB
The transaction branch has been heuristically rolled back.
intXA_HEURMIX
The transaction branch has been heuristically committed and rolled back.
intXAER_RMERR
A resource manager error has occurred in the transaction branch.
intXAER_NOTA
The XID is not valid.
intXAER_INVAL
Invalid arguments were given.
intXAER_PROTO
Routine was invoked in an inproper context.
intXAER_RMFAIL
Resource manager is unavailable.
intXAER_DUPID
The XID already exists.

Constructor

XAException()
Create an XAException.
XAException(String s)
Create an XAException with a given string.
XAException(int errcode)
Create an XAException with a given error code.

Method

voidaddSuppressed(Throwable exception)
Appends the specified exception to the exceptions that were suppressed in order to deliver this exception.
StringgetMessage()
Returns the detail message string of this throwable.
ThrowableinitCause(Throwable cause)
Initializes the cause of this throwable to the specified value.
voidprintStackTrace()
Prints this throwable and its backtrace to the standard error stream.
StringtoString()
Returns a short description of this throwable.