Overview | Package | Class | Tree | Index | Help
PREV CLASS | NEXT CLASS FRAMES  | NO FRAMES
SUMMARY:  INNER | FIELD | CONSTR | METHOD DETAIL:  FIELD | CONSTR | METHOD

Class javax.speech.EngineStateError

java.lang.Object
  |
  +--java.lang.Throwable
        |
        +--java.lang.Error
              |
              +--javax.speech.SpeechError
                    |
                    +--javax.speech.EngineStateError

public class EngineStateError
extends SpeechError
Signals an error caused by an illegal call to a method of a speech engine. For example, it is illegal to request a deallocated Synthesizer to speak, or to request a deallocated Recognizer to create or new grammar, or to request any deallocated engine to pause or resume.

See Also:
Serialized Form

Constructor Summary
EngineStateError()
          Construct an EngineStateError with no detail message.
EngineStateError(String s)
          Construct an EngineStateError with a detail message.
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getLocalizedMessage, getMessage, printStackTrace, printStackTrace, printStackTrace, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notifyAll, notify, toString, wait, wait, wait
 

Constructor Detail

EngineStateError

public EngineStateError()
Construct an EngineStateError with no detail message.

EngineStateError

public EngineStateError(String s)
Construct an EngineStateError with a detail message. A detail message is a String that describes this particular exception.

Overview | Package | Class | Tree | Index | Help
PREV CLASS | NEXT CLASS FRAMES  | NO FRAMES
SUMMARY:  INNER | FIELD | CONSTR | METHOD DETAIL:  FIELD | CONSTR | METHOD

JavaTM Speech API
Copyright 1997-1998 Sun Microsystems, Inc. All rights reserved
Send comments to javaspeech-comments@sun.com