O'Reilly logo

Definitive VoiceXML™ by David Cuddihy, Adam Hocek

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

3.5. catch

Element typecatch
Attributesevent | cond | count
Parentsfield | form | initial | menu | object | record | subdialog | transfer | vxml
Childrenassign | audio | clear | disconnect | enumerate | exit | goto | if | log | prompt | reprompt | return | script | submit | throw | value | var
DescriptionCatches the events listed in the event attribute. The count and cond attributes optionally control if a catch is visited. Anonymous variables:

_event (2.0)

Is the event that was thrown.

_message

Is the corresponding message string of the throw element (see 3.54, “throw,”).

DTD

<!ELEMENT catch (%executable.content;)* >
<!ATTLIST catch
  event %event.names; #REQUIRED    
  %event.handler.attrs; >

Language model

Attributes

accept : (exact | approximate)

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required