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.


Constructor Index

 o OracleXAException()
Default OracleXAException class.
 o OracleXAException(int)
Default OracleXAException class that takes an error code which is a combination of Oracle Sql No.

Method Index

 o getOracleError()
getOracleError returns the Oracle Error code corresponding to this exception.
 o getXAError()
getXAError returns the XA Error code corresponding to this exception.

Constructors

 o OracleXAException
 public OracleXAException()
Default OracleXAException class.

 o 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.

Methods

 o 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.
 o 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