ehcache

net.sf.ehcache.transaction.xa
Class EhcacheXAException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by javax.transaction.xa.XAException
              extended by 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

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
EhcacheXAException(String message, int errorCode)
          Constructor
EhcacheXAException(String message, int errorCode, Throwable cause)
          Constructor
 
Method Summary
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

EhcacheXAException

public EhcacheXAException(String message,
                          int errorCode)
Constructor

Parameters:
message - The message
errorCode - the XA error code

EhcacheXAException

public EhcacheXAException(String message,
                          int errorCode,
                          Throwable cause)
Constructor

Parameters:
message - The message
errorCode - the XA error code
cause - the Exception causing the XAException

ehcache

Copyright 2001-2015, Terracotta, Inc.