public static class LibraryJavaSound.Exception extends SoundSystemException
| Modifier and Type | Field and Description |
|---|---|
static int |
MIXER_PROBLEM
Global identifier for a problem with the mixer.
|
static LibraryJavaSound.MixerRanking |
mixerRanking
If there is a mixer problem, this will hold additional information.
|
CLASS_TYPE_MISMATCH, ERROR_NONE, LIBRARY_NULL, LIBRARY_TYPE, NULL_PARAMETER, UNKNOWN_ERROR| Constructor and Description |
|---|
Exception(String message)
Constructor: Generates a standard "unknown error" exception with the
specified message.
|
Exception(String message,
int type)
Constructor: Generates an exception of the specified type, with the
specified message.
|
Exception(String message,
LibraryJavaSound.MixerRanking rank)
Constructor: Generates a "Mixer Problem" exception with the specified
message.
|
getTypeaddSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toStringpublic static final int MIXER_PROBLEM
public static LibraryJavaSound.MixerRanking mixerRanking
public Exception(String message)
message - A brief description of the problem that occurred.public Exception(String message, int type)
message - A brief description of the problem that occurred.type - Identifier indicating they type of error.public Exception(String message, LibraryJavaSound.MixerRanking rank)
message - A brief description of the problem that occurred.rank - Ranking of the mixer involved.Copyright © 2017. All rights reserved.