Release 10.1A: OpenEdge Development:
Java Open Clients

> ## Exceptions

> Java clients handle errors by catching exceptions. To enable Java proxies to throw exceptions, Progress establishes two exception class hierarchies:

> - General 4GL 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.

> In addition to the standard methods provided by `java.lang.Exception` to get the message string, Progress provides the following method to obtain the error number:

>     long getMessageID()

> For information about additional methods provided by these exception classes, see the Open Client Toolkit documentation in `OpenEdge-install-directory``/java/doc/`.

> The following sections describe each `Exception` class in detail.

Copyright © 2005 Progress Software Corporation www.progress.com Voice: (781) 280-4000 Fax: (781) 280-4095