[Package Index] [Index] [Users' Guide] [SVAPI Home Page]

Class COM.novell.SVAPI.InvalidAudioException

public class InvalidAudioException extends AudioException

Signals that there is a problem with the content of the audio stream.



Constructor Index

InvalidAudioException(int)
Constructs an InvalidAudioException without a detail message.
InvalidAudioException(int, String)
Constructs an InvalidAudioException with the specified detail message.
InvalidAudioException(int, String, Throwable)
Constructs an InvalidAudioException with the specified detail message and a nested exception.


Method Index

getAudioProblem()
Returns the exception error code.


Constructors



InvalidAudioException

public InvalidAudioException(int Reason)
Constructs an InvalidAudioException without a detail message. The Reason can be an OR of any of the error constants (see Variables section), or it can be 0.


InvalidAudioException

public InvalidAudioException(int Reason, String s)
Constructs an InvalidAudioException with the specified detail message. The Reason can be an OR of any of the error constants (see Variables section, or it can be 0.


InvalidAudioException

public InvalidAudioException(int Reason, String s, Throwable e)
Constructs an InvalidAudioException with the specified detail message and a nested exception. The message can be null. The Reason can be an OR of any of the error constants (see Variables section, or it can be 0.


Methods



getAudioProblem

public int getAudioProblem()
Returns the exception error code. See the Variables section for valid values.


Variables



TOO_NOISY

public final static int TOO_NOISY
The signal contains too much background noise.


TOO_LOUD

public final static int TOO_LOUD
The signal is too loud.


TOO_SOFT

public final static int TOO_SOFT
The signal is too soft.


NO_UTTERANCE

public final static int NO_UTTERANCE
The signal does not contain voice.


SILENCE_EXPECTED

public final static int SILENCE_EXPECTED
The signal contained sounds when silence (or noise) was expected.



[Package Index] [Index] [Users' Guide] [SVAPI Home Page]

rwille@novell.com