SQLException Members

SQLException Members

Class Overview | This Package | All Packages

Constructors
Name Description
SQLException() Construct an SQLException; reason defaults to null, SQLState defaults to null and vendorCode defaults to 0.
SQLException(String) Construct an SQLException with a reason; SQLState defaults to null and vendorCode defaults to 0.
SQLException(String, String) Construct an SQLException with a reason and SQLState; vendorCode defaults to 0.
SQLException(String, String, int) Construct a fully-specified SQLException

Methods
Name Description
getErrorCode() Get the vendor specific exception code
getNextException() Get the exception chained to this one.
getSQLState() Get the SQLState
setNextException(SQLException) Add an SQLException to the end of the chain.