Throw

Throw

in

The throw element throws an event. These can be predefined or application defined events. The event attribute stipulates the event being thrown. The eventexpr is an ECMAScript expression evaluating to the name of the event being thrown. The message string provides additional context about the event being thrown. The message is available as the value of "_message" within the scope of the catch element. The messageexpr is an ECMAScript expression evaluating to the message string. Exactly one of "event" and "eventexpr" must be specified. Exactly one of "message" and "messageexpr" may be specified.

Related links

Search Glossary

Term of the Day

Attribute within certain tags that sets a maximum amount of time before the platform should pull a new copy for caching. Several similarly-named properties can set this interval on a more global level.