Show Table of Contents
4.9. Fault, Compensation, Termination and Event Handlers
Table 4.9. Fault, Compensation, Termination and Event Handlers
| Name | Description |
|---|---|
| Fault handler | Executed when a fault is thrown by an activity. |
| Compensation handler | Executed when the BPEL process encounters a Compensate or CompensateScope activity. |
| Termination handler | Executed if a Scope is forced to terminate early. |
| Event handler | Executed for events include the receipt of a message and a timer expiration. |
| Scope-level handlers | A Scope may have any handler. Since Scopes can be nested, each level can define its own set of handlers. Events that are not caught and processed by a handler in an inner Scope, will be propagated to its ancestors. |
| Activity-level handlers | Only the Invoke activity can define handlers. The handlers available to it are the fault and compensation handlers. |

Where did the comment section go?
Red Hat's documentation publication system recently went through an upgrade to enable speedier, more mobile-friendly content. We decided to re-evaluate our commenting platform to ensure that it meets your expectations and serves as an optimal feedback mechanism. During this redesign, we invite your input on providing feedback on Red Hat documentation via the discussion platform.