Exceptions
- Last Updated: August 15, 2021
- 1 minute read
- OpenEdge
- Version 12.2
- Documentation
Java clients handle errors by catching exceptions.
To enable Java proxies to throw exceptions, OpenEdge establishes two exception class hierarchies:
- General ABL exceptions — A hierarchy of exception
classes that extend the
Open4GLExceptionclass.Open4GLException, in turn, extends thecom.progress.common.exception.ProExceptionclass. - Output ResultSet exceptions — A
ProSQLExceptionclass, which extends the standardjava.sql.SQLExceptionclass.
For information on the methods/properties of these classes and subclasses,
see the Open Client Toolkit documentation in OpenEdge-install-directory/java/doc/com/progress/open4gl/package-summary.html.
The Exception class hierarchy is shown in
the next section followed by descriptions of the Exception
classes.