Progress
Open Client
Developer’s Guide
SDOResultSet Exceptions
All SDOResultSet and SDOResultSetMetaData methods throw
com.progress.open4gl.ProSQLException
, which is the root of more specific Exceptions. Table 6–1 shows the full Exception hierarchy:
The following Exceptions from this hierarchy allow you to handle normal program conditions:
DeletedRowAccessException
An attempt to access a deleted row generates this Exception. To prevent this Exception, the application can use the boolean
rowDeleted()
method before trying to access a row.SDOModificationException
This Exception is thrown when the back-end SmartDataObject fails to insert a new row, update an existing row, or delete an existing row. If the row operation is one of many in a larger transaction, each update, insert, or delete failure causes a message to be added to a list of messages held by the thrown
SDOModificationException
You can access all of the error information provided bySDOModificationException
using the following methods:
Returns the list of fields (if any) related to this error message.
Returns the name of the table (if any) related to this error message.
Returns the text of the current error message.
Positions the cursor on the next error message.
For more information on the SDOModificationException class and its methods, see the
SDOModificationException.html
file in Progress-Install-Directory\java\doc\.
Copyright © 2004 Progress Software Corporation www.progress.com Voice: (781) 280-4000 Fax: (781) 280-4095 |