public class OracleXAException
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 |
|---|
OracleXAException()
Default OracleXAException class.
|
OracleXAException(int error)
Default OracleXAException class that takes an error code
which is a combination of Oracle Sql No.
|
OracleXAException(int error,
int _xaError) |
OracleXAException(java.sql.SQLException sqlex,
int _xaError) |
| Modifier and Type | Method and Description |
|---|---|
static int |
errorConvert(int err,
int defaultErrorCode) |
java.lang.String |
getMessage() |
int |
getOracleError()
getOracleError returns the Oracle Error code corresponding to
this exception.
|
int |
getXAError()
getXAError returns the XA Error code corresponding to
this exception.
|
static java.lang.String |
getXAErrorMessage(int eCode) |
static javax.transaction.xa.XAException |
newXAException(oracle.jdbc.internal.OracleConnection conn,
int error) |
static javax.transaction.xa.XAException |
newXAException(oracle.jdbc.internal.OracleConnection conn,
int error,
int xaerror) |
static javax.transaction.xa.XAException |
newXAException(oracle.jdbc.internal.OracleConnection conn,
int error,
java.sql.SQLException sqlException) |
static javax.transaction.xa.XAException |
newXAException(oracle.jdbc.internal.OracleConnection conn,
java.sql.SQLException sqlexc,
int xaerror) |
public OracleXAException()
public OracleXAException(int error)
error - Oracle Error no.public OracleXAException(int error,
int _xaError)
public OracleXAException(java.sql.SQLException sqlex,
int _xaError)
public static javax.transaction.xa.XAException newXAException(oracle.jdbc.internal.OracleConnection conn,
int error)
public static javax.transaction.xa.XAException newXAException(oracle.jdbc.internal.OracleConnection conn,
int error,
java.sql.SQLException sqlException)
public static javax.transaction.xa.XAException newXAException(oracle.jdbc.internal.OracleConnection conn,
int error,
int xaerror)
public static javax.transaction.xa.XAException newXAException(oracle.jdbc.internal.OracleConnection conn,
java.sql.SQLException sqlexc,
int xaerror)
public static int errorConvert(int err,
int defaultErrorCode)
public int getXAError()
public int getOracleError()
public java.lang.String getMessage()
getMessage in class java.lang.Throwablepublic static java.lang.String getXAErrorMessage(int eCode)