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.SpeechException

java.lang.Object
  |
  +--java.lang.Throwable
        |
        +--java.lang.Exception
              |
              +--javax.speech.SpeechException
Subclasses:
AudioException, EngineException, GrammarException, JSMLException, VendorDataException

public class SpeechException
extends Exception
Signals that a Java Speech API exception has occurred. SpeechException is the super class of all exceptions in the javax.speech packages.

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

See Also:
SpeechError, Serialized Form

Constructor Summary
SpeechException()
          Constructs a SpeechException with no detail message.
SpeechException(String s)
          Constructs a SpeechException with the specified 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

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

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