Handling Errors Using Exceptions

19-8 Modeling and Implementation Guide for Oracle Business Process Management For information on how to configure the implementation properties to catch business exceptions, see Section 19.5.5, How to Configure an Error Event to Catch Business Exceptions . For information on how to configure the implementation properties to catch system exceptions, see Section 19.5.6, How to Configure a Catch Event to Catch System Exceptions .

19.5.4 What Happens When You Handle an Exception Using an Event Subprocess

If the exception handled in the event subprocess occurs while running any of the tasks in the process, then the BPMN Service Engine continues running the exception handling flow defined in the event subprocess.

19.5.5 How to Configure an Error Event to Catch Business Exceptions

You can configure an error event to catch business exceptions. To configure an error event to catch business exceptions you must edit the error event implementation properties. To configure the implementation properties of an error event to catch business exceptions: 1. If you want to handle all the business exceptions that can occur while running this process, then select Catch All Business Exceptions. If you want to catch a specific business exception:

a. Click the Browse button next to the Exception field.

The Type dialog box appears. b. Enter the name of the exception or select it from the tree.

c. Click OK.

The Type dialog box closes and the selected exception appears in the Exception field.

19.5.6 How to Configure a Catch Event to Catch System Exceptions

You can configure an error event to catch system exceptions. To configure an error event to catch system exceptions you must edit the error event implementation properties. To configure the implementation properties of an error event to catch system exceptions: 1. If you want to handle all the system exceptions that can occur while running this process, then select Catch All System Exceptions. If you want to catch a specific business exception:

a. Click the Browse button next to the Exception field.

The Type dialog box appears.

b. Select Show System Faults.

The tree shows the available system faults. For a list of the supported exception for the different error events, see Table 19–1 . c. Enter the name of the exception or select it from the tree.