Progress
Open Client
Developer’s Guide
Typical Errors By Method Category
Calling the following categories of methods can result in a corresponding set of errors:
- Navigation Methods —The typical errors in this category include attempts to navigate to rows that do not exist. If the row has been deleted, this error throws the
DeletedRowAccessException
.- Insert, Delete, and Update Row Methods — The typical errors in this category include:
- Concurrency control errors (the row was updated by another user, for example)
- Validation errors (the update was rejected by some AppServer validation routine)
- Trying to update a row while the cursor is not in an appropriate position (for example, calling
insertRow()
while the cursor is not in an insert row position)The first two types of errors throw the
SDOModificationException
.- Get and Update Column Value Methods — The typical errors in this category include:
- Trying to convert a value to the wrong data type (for example, trying to get an integer column using a
getDate()
method)- Trying to update a column with the wrong data type (for example, trying to set a date object to an integer column)
- Trying to get or set data when the cursor does not point to a valid row
- Metadata Methods —The typical errors in this category occur when trying to get metadata information about a column that does not exist.
Copyright © 2004 Progress Software Corporation www.progress.com Voice: (781) 280-4000 Fax: (781) 280-4095 |