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

Get Definitive VoiceXML™ now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.