All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class oracle.jdbc.driver.OracleSQLException

java.lang.Object
   |
   +----java.lang.Throwable
           |
           +----java.lang.Exception
                   |
                   +----java.sql.SQLException
                           |
                           +----oracle.jdbc.driver.OracleSQLException

public class OracleSQLException
extends SQLException

Constructor Index

 o OracleSQLException()
 o OracleSQLException(String)
 o OracleSQLException(String, String)
 o OracleSQLException(String, String, int)
 o OracleSQLException(String, String, int, Object[])

Method Index

 o getNumParameters()
Get total number of ORacle error message parameters.
 o getParameters()
Get Oracle error message parameters.
 o setParameters(Object[])
Set Oracle error message parameters.

Constructors

 o OracleSQLException
 public OracleSQLException()
 o OracleSQLException
 public OracleSQLException(String reason)
 o OracleSQLException
 public OracleSQLException(String reason,
                           String SQLState)
 o OracleSQLException
 public OracleSQLException(String reason,
                           String SQLState,
                           int vendorCode)
 o OracleSQLException
 public OracleSQLException(String reason,
                           String SQLState,
                           int vendorCode,
                           Object parameters[])

Methods

 o getParameters
 public Object[] getParameters()
Get Oracle error message parameters.

Returns:
a Object array contains Oracle error's parameters. Each array element is of type String or Integer. An Object array of length zero is returned for null case.
 o getNumParameters
 public int getNumParameters()
Get total number of ORacle error message parameters.

 o setParameters
 public void setParameters(Object parameters[])
Set Oracle error message parameters.


All Packages  Class Hierarchy  This Package  Previous  Next  Index