ActiveVOS Designer User’s Guide

Rethrow

The rethrow activity passes to the parent scope the fault that is originally caught by the immediately enclosing fault handler. The rethrow activity can be used only within a fault handler’s catch and catch all elements. The activity always throws the original fault data and preserves its type.

A rethrow activity is part of a default catch all fault handler. See Fault Handling for more information.

Required and optional properties for rethrow

Required Properties

Optional Properties

none

Name. See Selecting Activity Labels

Join Condition. See Creating a Join Condition for an Incoming Link

Suppress Join Failure. See Process Properties

Comment. See Adding Comments to a Process

Documentation. See Adding Documentation to a Process

Setting Visual Properties and Using Your Own Library of Images

Execution State. See Viewing the Execution State of an Activity or Link

Extension Attributes and Extension Elements. See Declaring Extension Elements and Attributes.

To add a rethrow activity to the process:

  1. On the Process Editor Fault Handler tab or a scope fault handler, add a catch or catch all container.
  2. From the Activity palette, drag a rethrow activity to a catch or catch all container.

The following illustration shows a simple example of using a rethrow activity within a catchAll fault handler of a scope.

Rethrow activity in a catch all

XML Syntax

<rethrow standard-attributes
  standard-elements
</rethrow>

Example:

<rethrow/>