org.firebirdsql.jca
Class FBXAException

java.lang.Object
  extended byjava.lang.Throwable
      extended byjava.lang.Exception
          extended byjavax.transaction.xa.XAException
              extended byorg.firebirdsql.jca.FBXAException
All Implemented Interfaces:
java.io.Serializable

public class FBXAException
extends javax.transaction.xa.XAException

Convenience exception that adds constructor taking message and error code together.

Author:
Roman Rokytskyy
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
FBXAException()
           
FBXAException(int errorCode)
           
FBXAException(int errorCode, java.lang.Exception reason)
           
FBXAException(java.lang.String msg)
           
FBXAException(java.lang.String msg, int errorCode)
           
 
Method Summary
 java.lang.String getMessage()
          Get message of this exception.
 void printStackTrace()
           
 void printStackTrace(java.io.PrintStream s)
           
 void printStackTrace(java.io.PrintWriter s)
           
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, initCause, setStackTrace, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

FBXAException

public FBXAException()

FBXAException

public FBXAException(java.lang.String msg)

FBXAException

public FBXAException(int errorCode)

FBXAException

public FBXAException(java.lang.String msg,
                     int errorCode)

FBXAException

public FBXAException(int errorCode,
                     java.lang.Exception reason)
Method Detail

getMessage

public java.lang.String getMessage()
Get message of this exception.

Returns:
combined message of this exception and original exception.

printStackTrace

public void printStackTrace()

printStackTrace

public void printStackTrace(java.io.PrintStream s)

printStackTrace

public void printStackTrace(java.io.PrintWriter s)


Copyright © 2001 David Jencks and other authors. All rights reserved.