Class XAContextException

  • All Implemented Interfaces:
    java.io.Serializable

    public class XAContextException
    extends java.lang.Exception
    This exception class wraps XA error code and message.
    Author:
    IIT GmbH, Bremen/Germany, Copyright (c) 2000-2003, All Rights Reserved
    See Also:
    Serialized Form
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      int getErrorCode()  
      java.lang.String getMessage()  
      void setErrorCode​(int errorCode)  
      java.lang.String toString()  
      • Methods inherited from class java.lang.Throwable

        addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
    • Constructor Detail

      • XAContextException

        public XAContextException​(java.lang.String message)
      • XAContextException

        public XAContextException​(int errorCode,
                                  java.lang.String message)
    • Method Detail

      • getErrorCode

        public int getErrorCode()
      • setErrorCode

        public void setErrorCode​(int errorCode)
      • getMessage

        public java.lang.String getMessage()
        Overrides:
        getMessage in class java.lang.Throwable
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Throwable