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 Open4GLException class. Open4GLException, in turn, extends the com.progress.common.exception.ProException class.
  • Output ResultSet exceptions — A ProSQLException class, which extends the standard java.sql.SQLException class.

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.