BPEL Designer: Adding Fault Handlers

See Also

The BPEL language provides you with the capability to catch and manage exceptions using fault handlers. For example, exceptions occur when web services return data that differs from what was expected. If faults are not handled, the entire BPEL process might shift into a faulted state. Therefore, to prevent the entire process from fault, you can add fault handlers to catch and manage exceptions within particular Scopes.

Each fault handler contains an activity that runs in case of an error. For example, a partner service is notified if an error has occurred. Fault handlers can be added to the entire process or to individual Scope elements.

You can attach one Fault Handler container to either the Process or the Scope elements. Inside the Fault Handler container, you can create several Catch activities configured to catch specific kinds of faults, or one Catch All handler element to catch all exceptions not caught by specific handlers.

To add a Fault Handler container to Scope or Process elements:

  1. Right-click the Scope or Process element and choose Add > Fault Handlers.
    An empty container element appears.
  2. Right-click the Fault Handler container and choose Add > Add Catch or Add Catch All.
See Also
Adding Catch Elements
Adding Catch All Elements
Throw

Legal Notices