|
Oracle® Database JDBC Java API Reference 11g Release 2 ("11.2.0.0.1-Beta-1") BETA E13995-01 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object
java.lang.Throwable
java.lang.Exception
javax.transaction.xa.XAException
oracle.jdbc.xa.OracleXAException
public class OracleXAException
OracleXAException extends XAException to leverage Oracle SQL Error number corresponding to the XA Exception.
Field Summary | |
---|---|
static java.lang.String |
BUILD_DATE |
static boolean |
PRIVATE_TRACE |
static boolean |
TRACE |
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 | |
---|---|
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) |
Method Summary | |
---|---|
static int |
errorConvert(int err, int defaultErrorCode) |
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) |
Methods inherited from class java.lang.Throwable |
---|
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
public static final java.lang.String BUILD_DATE
public static final boolean TRACE
public static final boolean PRIVATE_TRACE
Constructor Detail |
---|
public OracleXAException()
public OracleXAException(int error)
error
- Oracle Error no.public OracleXAException(int error, int _xaError)
public OracleXAException(java.sql.SQLException sqlex, int _xaError)
Method Detail |
---|
public static int errorConvert(int err, int defaultErrorCode)
public int getXAError()
public int getOracleError()
public static java.lang.String getXAErrorMessage(int eCode)
|
Oracle® Database JDBC Java API Reference 11g Release 2 ("11.2.0.0.1-Beta-1") BETA E13995-01 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |