Try OpenEdge Now
skip to main content
Java Open Clients
Using SmartDataObjects from Java Clients : Errors and exceptions
 

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.Exception to 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 AppServer. 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.
* SDOResultSet exceptions
* Typical errors by method category