The base checked exception for database access errors. The getErrorCode() method returns the vendor-specific error code; getSQLState() returns the SQLSTATE value.
SQLException
java The base checked exception for database access errors. The getErrorCode() method returns the vendor-specific error code; getSQLState() returns the SQLSTATE value.