====== < throw > ====== ===== Description ===== The element throws a pre-defined event or application-specific event. ===== Syntax ===== ===== Attributes ===== |event|The event attribute defines the event name to throw. The attribute is required – specifically the event or eventexpr is required.| |eventexpr|The eventexpr is an expression that yields the event name. The attribute is required – specifically the event or eventexpr is required.| |message|The message attribute indicates a message string providing additional context about the event being thrown. For the pre-defined events thrown by the platform, the value of the message is platform dependent. The message will be available as a variable within the scope of the catch element. This attribute is optional.| |messageexpr|The expression attribute defines the expression that yields the message. This attribute is optional.| ===== Parents ===== , , , , , , , ===== Children ===== None. ===== Extensions ===== None. ===== Limitations/Restrictions ===== None. ===== Example Code ===== goodbye.
hello | goodbye Just say hello Say hello Say something Hello, world!