public final class GenericVoiceXmlEvent extends JVoiceXMLEvent
VoiceXmlEvent that is thrown from a
<throw> tag.| Constructor and Description |
|---|
GenericVoiceXmlEvent(java.lang.String type)
Constructs a new event with the given event type as its detail message.
|
GenericVoiceXmlEvent(java.lang.String type,
java.lang.String message)
Constructs a new event with the specified detail message. the given
detail message is expanded to the form
<EVENT_TYPE>: <message>. |
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getEventType()
Get the event type of this event.
|
getMessage, isTypepublic GenericVoiceXmlEvent(java.lang.String type)
type - The event type for this event.public GenericVoiceXmlEvent(java.lang.String type,
java.lang.String message)
<EVENT_TYPE>: <message>.
The cause is not initialized.type - The event type for this event.message - The detail message.public java.lang.String getEventType()
getEventType in class JVoiceXMLEvent