org.jvoicexml.event.error
Class UnsupportedLanguageError

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.UnsupportedLanguageError
All Implemented Interfaces:
Serializable

public class UnsupportedLanguageError
extends UnsupportedElementError

The platform does not support the language for either speech synthesis or speech recognition.

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

Field Summary
static String ELEMENT
          The unsupported element.
 
Constructor Summary
UnsupportedLanguageError()
          Constructs a new event with the event type as its detail message.
UnsupportedLanguageError(String message)
          Constructs a new event with the specified detail message. the given detail message is expanded to the form <EVENT_TYPE>>: <message>.
UnsupportedLanguageError(String message, Throwable cause)
          Constructs a new event with the specified detail message and cause.
UnsupportedLanguageError(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

UnsupportedLanguageError

public UnsupportedLanguageError()
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

UnsupportedLanguageError

public UnsupportedLanguageError(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

UnsupportedLanguageError

public UnsupportedLanguageError(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

UnsupportedLanguageError

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