Community

Handling an SQLException under the DB2 Universal JDBC Driver

As in all Java programs, error handling is done using try/catch blocks. Methods throw exceptions when an error occurs, and the code in the catch block handles those exceptions. JDBC provides the SQLException class for handling errors. All JDBC methods throw an instance of SQLException when an er

Read More - Register for Free Membership

Tags: