10 HDR Exception Handling

HDR provides a hierarchy of exception classes, which allow users to distinguish between validation errors and system errors (For example, locking errors, session timeout errors, and unexpected errors). All exception classes extend from the CommonException class.

To obtain information about as many issues as possible, exceptions may be received as a bundle with each child exception representing a different issue.

HDR translates server-side root cause exception to equivalent CommonException in the client-side EJB exception.

The code samples below help you to manage the following scenarios: