Modeling logical (explicit) errors with the <throw> activity
The WS-BPEL 2.0 specification defines the <throw>
activity, which can be used by the developer to generate faults to handle logical errors. In the Time for action – adding fault handlers section, we explain how to use the <throw>
activity to generate faults and handle them within the <faultHandler>
construct.