Handling SQL Exceptions

Handling SQL Exceptions The java.sql package provide the SQLException class, which is derived from the java.lang.Exception class. The SQLException class provides the following error information: 1. Error Message: It is a string that describes the error. 2. Error code: It is an integer value that is associated with the error. 3. SQL state: It is an X/OPEN error code that identify the error. …

Handling SQL Exceptions Read More »