Movatterモバイル変換


[0]ホーム

URL:


         


Class XAException

java.lang.Object  |  +--java.lang.Throwable        |        +--java.lang.Exception              |              +--javax.transaction.xa.XAException
All Implemented Interfaces:
java.io.Serializable

public classXAException
extends java.lang.Exception

The XAException is thown by the Resource Manager (RM) to inform the Transaction Manager of error encountered for the transaction involved.

See Also:
Serialized Form

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
 

errorCode

public interrorCode
The error code to create the SystemException with

XA_RBBASE

public static final intXA_RBBASE
The inclusive lower bound oof the rollback codes.

XA_RBROLLBACK

public static final intXA_RBROLLBACK
Rollback was caused by unspecified reason.

XA_RBCOMMFAIL

public static final intXA_RBCOMMFAIL
Rollback was caused by communication failure.

XA_RBDEADLOCK

public static final intXA_RBDEADLOCK
A deadlock was detected.

XA_RBINTEGRITY

public static final intXA_RBINTEGRITY
A condition that violates the integrity of the resource was detected.

XA_RBOTHER

public static final intXA_RBOTHER
The resource manager rolled back the transaction branch for a reason not on this list.

XA_RBPROTO

public static final intXA_RBPROTO
A protocol error occured in the resource manager.

XA_RBTIMEOUT

public static final intXA_RBTIMEOUT
A transaction branch took too long.

XA_RBTRANSIENT

public static final intXA_RBTRANSIENT
May retry the transaction branch.

XA_RBEND

public static final intXA_RBEND
The inclusive upper bound of the rollback error code.

XA_NOMIGRATE

public static final intXA_NOMIGRATE
Resumption must occur where suspension occured.

XA_HEURHAZ

public static final intXA_HEURHAZ
The transaction branch may have been heuristically completed.

XA_HEURCOM

public static final intXA_HEURCOM
The transaction branch has been heuristically committed.

XA_HEURRB

public static final intXA_HEURRB
The transaction branch has been heuristically rolled back.

XA_HEURMIX

public static final intXA_HEURMIX
The transaction branch has been heuristically committed and rolled back.

XA_RETRY

public static final intXA_RETRY
Routine returned with no effect and may be reissued.

XA_RDONLY

public static final intXA_RDONLY
The transaction branch has been read-only and has been committed.

XAER_ASYNC

public static final intXAER_ASYNC
Asynchronous operation already outstanding.

XAER_RMERR

public static final intXAER_RMERR
A resource manager error has occured in the transaction branch.

XAER_NOTA

public static final intXAER_NOTA
The XID is not valid.

XAER_INVAL

public static final intXAER_INVAL
Invalid arguments were given.

XAER_PROTO

public static final intXAER_PROTO
Routine was invoked in an inproper context.

XAER_RMFAIL

public static final intXAER_RMFAIL
Resource manager is unavailable.

XAER_DUPID

public static final intXAER_DUPID
The XID already exists.

XAER_OUTSIDE

public static final intXAER_OUTSIDE
The resource manager is doing work outside global transaction.

XAException

publicXAException()
Create an XAException.

XAException

publicXAException(java.lang.String s)
Create an XAException with a given string.

XAException

publicXAException(int errcode)
Create an XAException with a given error code.

         


[8]ページ先頭

©2009-2025 Movatter.jp