Error Handling
The SQL Server 2000 Driver for JDBC reports errors to the calling application by throwing SQLExceptions. Each SQLException contains the following information:
- Description of the probable cause of the error, prefixed by the component that generated the error
- Native error code (if applicable)
- String containing the XOPEN SQLstate
SQL Server 2000 Driver for JDBC Errors
An error generated by the SQL Server 2000 Driver for JDBC has the following format:
[Microsoft][SQL Server 2000 Driver for JDBC]message[Microsoft][SQL Server 2000 Driver for JDBC]Timeout expired.You may, at times, 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 following format:
[Microsoft][SQL Server 2000 Driver for JDBC][SQL Server] message[Microsoft][SQL Server 2000 Driver for JDBC][SQL Server] Invalid Object Name.Use the native error code to look up details about the possible cause of the error. For these details, refer to your database documentation.
![]() |
Previous Page |
![]() |
Next Page |
![]() |
Synchronize with Contents |