net.sf.ehcache.transaction.xa
Class EhcacheXAException
java.lang.Object
java.lang.Throwable
java.lang.Exception
javax.transaction.xa.XAException
net.sf.ehcache.transaction.xa.EhcacheXAException
- All Implemented Interfaces:
- Serializable
public class EhcacheXAException
- extends 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
- See Also:
- Serialized Form
Fields inherited from class javax.transaction.xa.XAException |
errorCode, XA_HEURCOM, XA_HEURHAZ, XA_HEURMIX, XA_HEURRB, XA_NOMIGRATE, XA_RBBASE, XA_RBCOMMFAIL, XA_RBDEADLOCK, XA_RBEND, XA_RBINTEGRITY, XA_RBOTHER, XA_RBPROTO, XA_RBROLLBACK, XA_RBTIMEOUT, XA_RBTRANSIENT, XA_RDONLY, XA_RETRY, XAER_ASYNC, XAER_DUPID, XAER_INVAL, XAER_NOTA, XAER_OUTSIDE, XAER_PROTO, XAER_RMERR, XAER_RMFAIL |
Methods inherited from class java.lang.Throwable |
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString |
EhcacheXAException
public EhcacheXAException(String message,
int errorCode)
- Constructor
- Parameters:
message
- The messageerrorCode
- the XA error code
EhcacheXAException
public EhcacheXAException(String message,
int errorCode,
Throwable cause)
- Constructor
- Parameters:
message
- The messageerrorCode
- the XA error codecause
- the Exception causing the XAException
Copyright 2001-2014, Terracotta, Inc.