Top Description Fields Constructors
net.sf.ehcache.transaction.xa

public Class EhcacheXAException

extends XAException
Class Inheritance
Imports
javax.transaction.xa.XAException

Small extension to the XAException defined in the JTA standard, so that the errorCode is provided when instantiating the Exception thrown
Author
Alex Snaps

Field Summary

Inherited from javax.transaction.xa.XAException:
errorCodeXA_HEURCOMXA_HEURHAZXA_HEURMIXXA_HEURRBXA_NOMIGRATEXA_RBBASEXA_RBCOMMFAILXA_RBDEADLOCKXA_RBENDXA_RBINTEGRITYXA_RBOTHERXA_RBPROTOXA_RBROLLBACKXA_RBTIMEOUTXA_RBTRANSIENTXA_RDONLYXA_RETRYXAER_ASYNCXAER_DUPIDXAER_INVALXAER_NOTAXAER_OUTSIDEXAER_PROTOXAER_RMERRXAER_RMFAIL

Constructor Summary

AccessConstructor and Description
public
EhcacheXAException(String
The message
message
,
int
the XA error code
errorCode
)

Constructor

public
EhcacheXAException(String
The message
message
,
int
the XA error code
errorCode
,
Throwable
the Exception causing the XAException
cause
)

Constructor

Constructor Detail

EhcacheXAExceptionback to summary
public EhcacheXAException(String message, int errorCode)

Constructor

Parameters
message:String

The message

errorCode:int

the XA error code

EhcacheXAExceptionback to summary
public EhcacheXAException(String message, int errorCode, Throwable cause)

Constructor

Parameters
message:String

The message

errorCode:int

the XA error code

cause:Throwable

the Exception causing the XAException