Tokens for Try-Catch Activity
This activity produces the following tokens:
Name | Description | Sample Syntax |
---|---|---|
Error Code | The error code of the error encountered in the try branch. | %(CatchBranch_Error Code) |
Message | The error message of the error encountered in the try branch. | %(CatchBranch_Message) |
Actual Type | The name of the exception encountered in the try branch. | %(CatchBranch_Actual Type) |
Actual Type Full | The namespace-qualified name of the exception encountered in the try branch. | %(CatchBranch_Actual Type Full) |
The "CatchBranch" portion of the syntax changes to match the catch branch's name.
Note: All non-alphanumeric characters, except underscores, are removed from the name. For example, if you rename the catch branch, "Exception--Handler", the syntax for the Error Code token will be "%(ExceptionHandler_Error Code)".