cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
80
Views
0
Helpful
0
Comments
cdnadmin
Community Member
This document was generated from CDN thread

Created by: null on 28-09-2006 10:27:36 PM
Can you handle Java exception with HotEvent? What do you suggest?

Thanks.

Subject: RE: How to handle Java exception
Replied by: Michael Bochynski on 29-09-2006 05:50:56 PM
Luong,

HotEvents listen for VoiceXML events thrown by a voice browser, not Java exceptions.

We would strongly suggest adding exception handling in your custom Java code, to avoid any potential uncaught exceptions terminating the call. You can, however, in your Java code throw a custom VoiceXML event and have a HotEvent listening for this event.

You could also use an Error element to catch the unhandled exceptions in your call. Note that every voice element can be defined as the Error element by right-clicking on the element and choosing Error Element -> Yes.

Please refer to the following Audium Knowledge Base articles for details about HotEvents and an Error element

Hotevents:
http://kb.audiumcentral.com/questions/155/q
http://kb.audiumcentral.com/questions/164/q

Error element:
http://kb.audiumcentral.com/questions/6/q

You can also refer to the User Guide, available at :

http://www.audiumcentral.com/supportcenter/viewtopic.php?t=2405

Hope this helps,
Michael
Getting Started

Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community:

Quick Links