Throw
The Throw activity throws the specified fault and the control is passed to any error-handling routine defined to handle the error. This activity is useful in a group or in a called process. You can use this activity to catch and raise your own error conditions. The Throw activity is useful if an error in the business logic occurs during processing.
General
The General tab has the following fields.
Field | Description |
---|---|
Name | The name to be displayed as the label for the activity in the process. |
Default Fault | This field is displayed when you use the
Throw activity in a service process or a service subprocess. Select this check box if you want the default message text and the error code for the error message.
This is reflected in the Input Editor and Input for this activity. |
Fault Schema | This field is displayed when you use the
Throw activity in a direct subprocess.
Select a fault schema to send to the parent process. In a direct subprocess, fault schemas are defined on the Fault Editor tab of the End activity. If you select the - Default - option, the $_error process variable is propagated. |
Input Editor
Selecting the Default Fault check box displays the message and the msgCode elements in the Input Editor.