public interface FatalErrorFormFactory
Normally, VoiceXML error
events are sent back to the dialogue
for processing. However, if another error occurs when the first error is sent
back to the server, we have a case of fatal error and must have an error
handler in the VoiceXML to deal with these errors. This class contains the
addFatalErrorForm(Element, VoiceXmlDocumentTurn)
method which is
invoked to add the proper VoiceXML elements in order to deal properly with
such errors.
By default, the VoiceXmlDialogueServlet
is initialized with a
ExitFatalErrorFormFactory
, which generates an empty
<exit>
element. This is generally acceptable. However,
some contexts would require a different handler, such as subdialogues where a
<return>
would be more appropriate.
Modifier and Type | Method and Description |
---|---|
void |
addFatalErrorForm(Element form,
VoiceXmlDocumentTurn turn) |
void addFatalErrorForm(Element form, VoiceXmlDocumentTurn turn)
Copyright © 2019 Nu Echo Inc..