public class UnsupportedElementError extends ErrorEvent
<transfer>, it must throw
error.unsupported.transfer. This allows an author to use
event handling to adapt to different platform capabilities.| Constructor and Description |
|---|
UnsupportedElementError(java.lang.String unsupported)
Constructs a new event with the event type as its detail message.
|
UnsupportedElementError(java.lang.String unsupported,
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>. |
UnsupportedElementError(java.lang.String unsupported,
java.lang.String message,
java.lang.Throwable cause)
Constructs a new event with the specified detail message and cause.
|
UnsupportedElementError(java.lang.String unsupported,
java.lang.Throwable cause)
Constructs a new event with the specified cause and a detail message of
(cause==null ? |
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getElement()
Retrieve the name of the unsupported element.
|
java.lang.String |
getEventType()
Constructs an event type with the event type as specification.
|
getMessage, isTypepublic UnsupportedElementError(java.lang.String unsupported)
The unsupported element is used to construct the event type.
unsupported - The name of the unsupported element.getEventType()public UnsupportedElementError(java.lang.String unsupported,
java.lang.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(java.lang.String unsupported,
java.lang.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(java.lang.String unsupported,
java.lang.String message,
java.lang.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.public final java.lang.String getElement()
public final java.lang.String getEventType()
<EVENT_TYPE>.<element>
getEventType in class JVoiceXMLEventEVENT_TYPE,
{@inheritDoc}