| VoiceXML 2.1 Development Guide | Home | Frameset Home |
|
<vxml> level of the root doc, so that the handlers are of document or application scope. Of course, circumstances may dictate that you may want to change the behavior of a certain exception at the form level, in which case the handlers will have dialog scope.
<catch event="EVENT">
<!-- do something here -->
</catch>
<error>
<!-- do something here -->
</error>
<error>
<if cond="_event =='error.badfetch'">
<log expr="'*** ERROR.BADFETCH CAUGHT ***'"/>
<submit next="MyCleanupPage.cgi" namelist="var1 var 2"/>
<elseif cond="_event =='error.semantic' "/>
<log expr="'*** ERROR.SEMANTIC CAUGHT ***'"/>
<submit next="MyCleanupPage.cgi" namelist="var1 var 2"/>
<else/>
</if>
</error>
<submit> to a cleanup/reporting page before the application ends. Obviously, these particular exceptions are immune to the 'count' attribute for the <catch> element. These fatal errors are:| ANNOTATIONS: EXISTING POSTS |
| login |
|