Error handling
SQLExceptions
The driver reports errors to the application by throwing SQLExceptions. Each SQLException contains the following information:
![*](bullet.png)
Description of the probable cause of the error, prefixed by the component that generated the error
![*](bullet.png)
Native error code (if applicable)
![*](bullet.png)
String containing the XOPEN SQLstate
Driver Errors
An error generated by the driver has the format shown in the following example:
[DataDirect][Oracle JDBC Driver]Timeout expired.
You may need to check the last JDBC call your application made and refer to the JDBC specification for the recommended action.
Database Errors
An error generated by the database has the format shown in the following example:
[DataDirect][Oracle JDBC Driver][Oracle]Invalid Object Name.
If you need additional information, use the native error code to look up details in your database documentation.