Voice

Home 

Exception Handler Block

Provides an alternate branch the voice application can execute if an exception, block error, or disconnect occurs. This lets the voice application continue executing instead of quitting as it normally does under such circumstances without the Exception Handler block. Use this block in any part of an voice application in which you expect exceptions, block errors, or disconnects.

Conditional Exits

The Exception Handler block has two conditional exits: Try and Catch.

Try - Enter the sequence of blocks that you predict might generate an exception, block error, or disconnect.

Catch - Enter the sequence of blocks that you want the voice application to execute if an exception, block error, or disconnect occurs during the Try conditional exit.

The block initially executes the Try conditional exit.

If an exception, block error, or disconnect occurs while executing any block in the Try conditional exit, the voice application executes the Catch conditional exit. After executing the Catch conditional exit, the voice application executes the next block in the flowchart.

If no exception, block error, or disconnect occurs, the voice application does not execute the Catch conditional exit, and instead processes the next block in the flowchart.

After executing, the Exception Handler block stores one of the following values in the Exception interaction property:

Disconnect - The caller disconnected.

Error - A block error or exception occurred.

No - No exception occurred (normal processing).

When Configuration for this Block is Complete:

Click the Update button to apply the settings.


Was this article useful?