JSAPI 2.0

javax.speech
Class SpeechException

Object
  extended by Throwable
      extended by Exception
          extended by SpeechException
Direct Known Subclasses:
AudioException, EngineException, GrammarException, SpeakableException

public class SpeechException
extends Exception

Thrown when a Java Speech API exception occurs. SpeechException is the super class of all exceptions in the javax.speech packages.

In addition to exceptions that inherit from SpeechException, some methods throw other Java Exceptions and Errors such as IllegalArgumentException and SecurityException.

See Also:
Exception, Error, IllegalArgumentException, SecurityException

Constructor Summary
SpeechException()
          Constructs a SpeechException with no detail message.
SpeechException(String s)
          Constructs a SpeechException with the specified detail message.
 
Method Summary
 
Methods inherited from class Throwable
getMessage, printStackTrace, toString
 
Methods inherited from class Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

SpeechException

public SpeechException()
Constructs a SpeechException with no detail message.


SpeechException

public SpeechException(String s)
Constructs a SpeechException with the specified detail message. A detail message is a String that describes this particular exception.

Parameters:
s - the detail message

JSAPI 2.0

JavaTM Speech API 2.0, Final Release v2.0.6.
© 2008, Conversay and Sun Microsystems.

Free Web Hosting