===== Event handling ===== **Types of events** An event is thrown by the VoiceXML platform for any number of reasons, such as a user not responding to an input, not responding correctly, requesting help, etc. An event is also thrown if there is a semantic error in the VoiceXML document, or when the element is encountered. The element generates an event (user-defined or system) and the element catches the event thrown by the VoiceXML document, dialog, or form item. **Throw element** The element generates predefined or user-defined events. An example of the use of the element is: In this case, an event is generated when an input by the user is not recognized as part of the active grammar. The attribute for the element is event, which defines the event to be thrown. **Catch element** The element catches the event thrown by the VoiceXML document, dialog, or form item. An example of the use of the element is: The following is a set of catch elements available: * : catches events of type error * : catches events if no help is available * : catches events if there was no input by the user * : catches events if an input by the user is not recognized as part of the active grammar