Try Catch

Handles exceptions thrown by the Try block.

Behaviour

Built-in workflow activity · type id velophex.trycatch

Properties#

Catches#

Catch#

Catch:{n} · Read-only · Optional · Default: Not specified

The handler's exception type and variable, for example System.IO.IOException as error. Edit the exception type and variable on the designer card.

Catch fault category#

Catch:{n}:FaultCategory · String · Optional · Default: Not specified

Only handle faults of this category; leave empty to handle every fault of the exception type. Choices: Unknown, Validation, Package, Type, Expression, Activity, Infrastructure, Timeout, Cancellation, Security, Compatibility, Workflow.

Finally#

Finally · Read-only · Optional · Default: None

Whether the Finally block is present. Add or remove the Finally block on the designer card.

How it works#

Try Catch runs its Try block with typed exception handlers in Catches and an optional Finally block. A handler selects faults by its exception type and, when set, by fault category. The handler's variable name holds the exception inside the handler. A new Try Catch has one handler for Exception, named exception.

Properties

Catches

How it works