org.jvoicexml.event
Class GenericVoiceXmlEvent
java.lang.Object
java.lang.Throwable
org.jvoicexml.event.JVoiceXMLEvent
org.jvoicexml.event.GenericVoiceXmlEvent
- All Implemented Interfaces:
- Serializable
public final class GenericVoiceXmlEvent
- extends JVoiceXMLEvent
Generic VoiceXmlEvent that is thrown from a
<throw> tag.
- Version:
- $Revision: 149 $
Copyright © 2005 JVoiceXML group -
http://jvoicexml.sourceforge.net/
- Author:
- Dirk Schnelle
- See Also:
- Serialized Form
|
Constructor Summary |
GenericVoiceXmlEvent(String type)
Constructs a new event with the given event type as its detail message. |
GenericVoiceXmlEvent(String type,
String message)
Constructs a new event with the specified detail message. the given
detail message is expanded to the form
<EVENT_TYPE>>: <message>. |
GenericVoiceXmlEvent
public GenericVoiceXmlEvent(String type)
- Constructs a new event with the given event type as its detail message.
The cause is not initialized.
- Parameters:
type - The event type for this event.
GenericVoiceXmlEvent
public GenericVoiceXmlEvent(String type,
String message)
- Constructs a new event with the specified detail message. the given
detail message is expanded to the form
<EVENT_TYPE>>: <message>.
The cause is not initialized.
- Parameters:
type - The event type for this event.message - The detail message.
getEventType
public String getEventType()
- Get the event type of this event.
- Specified by:
getEventType in class JVoiceXMLEvent
- Returns:
- Event type.
Copyright © 2005-2007 JVoiceXML group.