Throw

The Throw functionality is part of event handler feature. The Throw element is used to raise a custom exception when running a call flow. It can be used in a main flow or in a subflow. The Throw element is used to throw recently caught Java Exceptions, VXML Exception or user defined custom exceptions.

Example, com.audium.MyException

General

Name (Label)

Type

Req'd

Default

Notes

Event Code*

String

Yes

This is a mandatory field to be filled if you are using the Throw element in the call flow. You can define the name of the custom event or exception in this field.

Message

String

Yes

You can enter custom exception message and create a substitution tag in this field. For example, {Data.Session.lastException.message}.

Custom Field1

Custom Field 2

Custom Field 3

String

Yes

You can enter the value in this field from the substitutions tag, the last exception session variable will be used for the same. The last exception session variable will hold the last thrown exception.