Class EhcacheXAException

  • All Implemented Interfaces:
    java.io.Serializable

    public class EhcacheXAException
    extends 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
    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)
      Constructor
      EhcacheXAException​(java.lang.String message, int errorCode, java.lang.Throwable cause)
      Constructor
    • Method Summary

      • Methods inherited from class java.lang.Throwable

        addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, 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​(java.lang.String message,
                                  int errorCode)
        Constructor
        Parameters:
        message - The message
        errorCode - the XA error code
      • EhcacheXAException

        public EhcacheXAException​(java.lang.String message,
                                  int errorCode,
                                  java.lang.Throwable cause)
        Constructor
        Parameters:
        message - The message
        errorCode - the XA error code
        cause - the Exception causing the XAException