Errors and exceptions
- Last Updated: January 16, 2024
- 1 minute read
- OpenEdge
- Version 12.8
- Documentation
Errors and exceptions
Two types of errors can occur working with SDOResultSet, depending on the category of method that is called:
- Errors that are caused by an application bug, such as an
attempt to position the cursor at a negative row number. This type
of error causes a
java.sql.Exceptionto be thrown, with different messages for different errors. - Errors that can occur during an otherwise normal session, such as an update failure due to a concurrency control collision on the application server. This type of error causes a specific SDOResultSet Exception to be thrown, which allows you to handle the error programmatically.
This section describes the SDOResultSet exception hierarchy and typical errors by method category.