All Packages Class Hierarchy This Package Previous Next Index
Class oracle.jdbc.xa.OracleXAException
oracle.jdbc.xa.OracleXAException
- public class OracleXAException
OracleConnectionCache extends XAException to leverage Oracle
SQL Error number corresponding to the XA Exception.
-
OracleXAException()
- Default OracleXAException class.
-
OracleXAException(int)
- Default OracleXAException class that takes an error code
which is a combination of Oracle Sql No.
-
getOracleError()
- getOracleError returns the Oracle Error code corresponding to
this exception.
-
getXAError()
- getXAError returns the XA Error code corresponding to
this exception.
OracleXAException
public OracleXAException()
- Default OracleXAException class.
OracleXAException
public OracleXAException(int error)
- Default OracleXAException class that takes an error code
which is a combination of Oracle Sql No. and XA Error No.
- Parameters:
- error - Oracle Error no.
getXAError
public int getXAError()
- getXAError returns the XA Error code corresponding to
this exception. The error codes are the one defined in
XAException class.
- Returns:
- int XA Error Code.
getOracleError
public int getOracleError()
- getOracleError returns the Oracle Error code corresponding to
this exception. Return values are the standard ORA errors.
Returns zero when one doesn't exist.
- Returns:
- int Oracle Error Code.
All Packages Class Hierarchy This Package Previous Next Index