Package 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:
java.io.Serializable
public class EhcacheXAException extends javax.transaction.xa.XAExceptionSmall 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
-
-
Field Summary
-
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
-
-
Constructor Summary
Constructors Constructor Description EhcacheXAException(java.lang.String message, int errorCode)ConstructorEhcacheXAException(java.lang.String message, int errorCode, java.lang.Throwable cause)Constructor
-
-
-
Constructor Detail
-
EhcacheXAException
public EhcacheXAException(java.lang.String message, int errorCode)Constructor- Parameters:
message- The messageerrorCode- the XA error code
-
EhcacheXAException
public EhcacheXAException(java.lang.String message, int errorCode, java.lang.Throwable cause)Constructor- Parameters:
message- The messageerrorCode- the XA error codecause- the Exception causing the XAException
-
-