public class FBXAException
extends 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 and Description |
---|
FBXAException() |
FBXAException(int errorCode)
Create a new instance of
FBXAException based around
a specific error code. |
FBXAException(int errorCode,
java.lang.Exception reason)
Create a new instance of
FBXAException wrapped around
an underlying exception. |
FBXAException(java.lang.String msg)
Create a new instance of
FBXAException with a given
message. |
FBXAException(java.lang.String msg,
int errorCode)
Create a new instance of
FBXAException based around
a message and specific error code. |
FBXAException(java.lang.String msg,
int errorCode,
java.lang.Exception reason)
Create a new instance of
FBXAException based around
a message and with an underlying exception. |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getMessage()
Get message of this exception.
|
void |
printStackTrace()
Print a stack trace for this exception to
STDERR . |
void |
printStackTrace(java.io.PrintStream s)
Print a stack trace for this exception with a
given
PrintStream . |
void |
printStackTrace(java.io.PrintWriter s)
Print a stack trace for this exception with a
given
PrintWriter . |
public FBXAException()
public FBXAException(java.lang.String msg)
FBXAException
with a given
message.msg
- The string message for this exceptionpublic FBXAException(int errorCode)
FBXAException
based around
a specific error code.errorCode
- The error code for this exceptionpublic FBXAException(java.lang.String msg, int errorCode)
FBXAException
based around
a message and specific error code.msg
- The string message for this exceptionerrorCode
- The error code for this exceptionpublic FBXAException(int errorCode, java.lang.Exception reason)
FBXAException
wrapped around
an underlying exception.errorCode
- The error code for this exceptionreason
- The underlying exceptionpublic FBXAException(java.lang.String msg, int errorCode, java.lang.Exception reason)
FBXAException
based around
a message and with an underlying exception.msg
- The string message for this exceptionerrorCode
- The error code for this exceptionreason
- The underlying exceptionpublic java.lang.String getMessage()
getMessage
in class java.lang.Throwable
public void printStackTrace()
STDERR
.printStackTrace
in class java.lang.Throwable
public void printStackTrace(java.io.PrintStream s)
PrintStream
.printStackTrace
in class java.lang.Throwable
s
- The PrintStream
to which the stack trace will
be writtenpublic void printStackTrace(java.io.PrintWriter s)
PrintWriter
.printStackTrace
in class java.lang.Throwable
s
- The PrintWriter
to which the stack trace will
be writtenCopyright © 2001-2019 Jaybird (Firebird JDBC/JCA) team. All rights reserved.