java.sql.SQLException java.sql.SQLExceptionchaining SQLExceptions

supplies values for the getMessage(), getSQLState(), and getErrorCode() calls of SQLExceptions. In addition, sometimes returns multiple SQLExceptions using the nextException chain. The first exception is always the most severe exception, with SQL-92 Standard exceptions preceding those that are specific to . For information on processing SQLExceptions, see "Working with SQLExceptions in an Application" in Chapter 5 of the .