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.
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.
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.
public int getAudioProblem()
Returns the exception error code. See the Variables section for valid values.
public final static int TOO_NOISY
The signal contains too much background noise.
public final static int TOO_LOUD
The signal is too loud.
public final static int TOO_SOFT
The signal is too soft.
public final static int NO_UTTERANCE
The signal does not contain voice.
public final static int SILENCE_EXPECTED
The signal contained sounds when silence (or noise) was expected.