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.54. throw

Element typethrow
Attributesevent (2.0) | eventexpr (2.0) | message (2.0) | messageexpr (2.0)
Parentsblock | catch | error | filled | help | if | noinput | nomatch
ChildrenNone.
DescriptionThrows an event, either predefined or application-specific.

DTD

<!ELEMENT throw EMPTY >
<!ATTLIST throw
  event       %event.name;    #IMPLIED
  eventexpr   %expression;    #IMPLIED
  message     CDATA           #IMPLIED
  messageexpr %expression;    #IMPLIED >

Language model

Attributes

event : event.name

The name of the event to throw.

eventexpr : expression

An expression that yields the name of the event to throw.

message : string

A string that is a part of the event being thrown.

messageexpr ...

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