|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjava.lang.Throwable
org.jvoicexml.event.JVoiceXMLEvent
org.jvoicexml.event.ErrorEvent
org.jvoicexml.event.error.UnsupportedElementError
public class UnsupportedElementError
The platform does not support the given element, where element is a VoiceXML
element defined in this specification. For instance, if a platform does not
implement <transfer>, it must throw
error.unsupported.transfer. This allows an author to use
event handling to adapt to different platform capabilities.
Copyright © 2005-2007 JVoiceXML group - http://jvoicexml.sourceforge.net/
| Constructor Summary | |
|---|---|
UnsupportedElementError(String unsupported)
Constructs a new event with the event type as its detail message. |
|
UnsupportedElementError(String unsupported,
String message)
Constructs a new event with the specified detail message. the given detail message is expanded to the form <EVENT_TYPE>>: <message>. |
|
UnsupportedElementError(String unsupported,
String message,
Throwable cause)
Constructs a new event with the specified detail message and cause. |
|
UnsupportedElementError(String unsupported,
Throwable cause)
Constructs a new event with the specified cause and a detail message of (cause==null ? |
|
| Method Summary | |
|---|---|
String |
getElement()
Retrieve the name of the unsupported element. |
String |
getEventType()
Constructs an event type with the event type as specification. |
| Methods inherited from class org.jvoicexml.event.JVoiceXMLEvent |
|---|
getMessage |
| Methods inherited from class java.lang.Throwable |
|---|
fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public UnsupportedElementError(String unsupported)
The unsupported element is used to construct the event type.
unsupported - The name of the unsupported element.getEventType()
public UnsupportedElementError(String unsupported,
String message)
<EVENT_TYPE>>: <message>.
The cause is not initialized.
The unsupported element is used to construct the event type.
unsupported - The name of the unsupported element.message - The detail message.getEventType()
public UnsupportedElementError(String unsupported,
Throwable cause)
(cause==null ? getEventType() : cause.toString()) (which
typically contains the class and detail message of cause).
The unsupported element is used to construct the event type.
unsupported - The name of the unsupported element.cause - The cause.getEventType()
public UnsupportedElementError(String unsupported,
String message,
Throwable cause)
The unsupported element is used to construct the event type.
unsupported - The name of the unsupported element.message - The detail message.cause - The cause.| Method Detail |
|---|
public final String getElement()
public final String getEventType()
<EVENT_TYPE>.<element>
getEventType in class JVoiceXMLEventEVENT_TYPE,
{@inheritDoc}
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||