Database Java Tutorial

Return Type      Method                                 Description
int              getErrorCode()                         Retrieves the vendor-specific exception code for this SQLException object
SQLException     getNextException()                     Retrieves the exception chained to this SQLException object
String           getSQLState()                          Retrieves the SQLState for this SQLException object
void             setNextException(SQLException ex)      Adds a SQLException object to the end of the chain