Mega Code Archive

 
Categories / Java Tutorial / Database
 

Java sql SQLException Methods

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