Heads Up :
The post you are writing will appear in a public forum. Please ensure all content is appropriate for public consumption. Review the employee guidelines for the community here.
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
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: