org.jvoicexml.event.error
Class UnsupportedObjectnameError

java.lang.Object
  extended by java.lang.Throwable
      extended by org.jvoicexml.event.JVoiceXMLEvent
          extended by org.jvoicexml.event.ErrorEvent
              extended by org.jvoicexml.event.error.UnsupportedElementError
                  extended by org.jvoicexml.event.error.UnsupportedObjectnameError
All Implemented Interfaces:
Serializable

public class UnsupportedObjectnameError
extends UnsupportedElementError

The platform does not support a particular platform-specific object. Note that 'objectname' is a fixed string and is not substituted with the name of the unsupported object.

Version:
$Revision: 2476 $
Author:
Dirk Schnelle-Walka
See Also:
Serialized Form

Field Summary
static String ELEMENT
          The unsupported element.
 
Constructor Summary
UnsupportedObjectnameError()
          Constructs a new event with the event type as its detail message.
UnsupportedObjectnameError(String message)
          Constructs a new event with the specified detail message. the given detail message is expanded to the form <EVENT_TYPE>>: <message>.
UnsupportedObjectnameError(String message, Throwable cause)
          Constructs a new event with the specified detail message and cause.
UnsupportedObjectnameError(Throwable cause)
          Constructs a new event with the specified cause and a detail message of (cause==null ?
 
Method Summary
 
Methods inherited from class org.jvoicexml.event.error.UnsupportedElementError
getElement, getEventType
 
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
 

Field Detail

ELEMENT

public static final String ELEMENT
The unsupported element.

See Also:
Constant Field Values
Constructor Detail

UnsupportedObjectnameError

public UnsupportedObjectnameError()
Constructs a new event with the event type as its detail message. The cause is not initialized

The ELEMENT is used to construct the event type.

See Also:
UnsupportedElementError.getEventType(), ELEMENT

UnsupportedObjectnameError

public UnsupportedObjectnameError(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.

The ELEMENT is used to construct the event type.

Parameters:
message - The detail message.
See Also:
UnsupportedElementError.getEventType(), ELEMENT

UnsupportedObjectnameError

public UnsupportedObjectnameError(Throwable cause)
Constructs a new event with the specified cause and a detail message of (cause==null ? getEventType() : cause.toString()) (which typically contains the class and detail message of cause).

The ELEMENT is used to construct the event type.

Parameters:
cause - The cause.
See Also:
UnsupportedElementError.getEventType(), ELEMENT

UnsupportedObjectnameError

public UnsupportedObjectnameError(String message,
                                  Throwable cause)
Constructs a new event with the specified detail message and cause.

The ELEMENT is used to construct the event type.

Parameters:
message - The detail message.
cause - The cause.
See Also:
UnsupportedElementError.getEventType(), ELEMENT


Copyright © 2005-2010JVoiceXML group.