JSAPI 2.0

javax.speech
Class EngineStateException

Object
  extended by Throwable
      extended by Exception
          extended by RuntimeException
              extended by IllegalStateException
                  extended by EngineStateException

public class EngineStateException
extends IllegalStateException

Thrown when there is an illegal call to a method of a speech Engine. For example, it is illegal to request any DEALLOCATED Engine to pause or resume.

See Also:
Engine, Engine.DEALLOCATED, pause, resume

Constructor Summary
EngineStateException()
          Constructs an EngineStateException with no detail message.
EngineStateException(String s)
          Constructs an EngineStateException 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

EngineStateException

public EngineStateException()
Constructs an EngineStateException with no detail message.


EngineStateException

public EngineStateException(String s)
Constructs an EngineStateException 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