public class SoundSystemException extends Exception
| Modifier and Type | Field and Description |
|---|---|
static int |
CLASS_TYPE_MISMATCH
Global identifier for a class type mismatch.
|
static int |
ERROR_NONE
Global identifier for no problem.
|
static int |
LIBRARY_NULL
Global identifier for the sound library does not exist.
|
static int |
LIBRARY_TYPE
Global identifier for the sound library does not exist.
|
static int |
NULL_PARAMETER
Global identifier for a null parameter.
|
static int |
UNKNOWN_ERROR
Global identifier for a generic exception.
|
| Constructor and Description |
|---|
SoundSystemException(String message)
Constructor: Generic exception.
|
SoundSystemException(String message,
int type)
Constructor: Specify the error message and type of exception.
|
| Modifier and Type | Method and Description |
|---|---|
int |
getType() |
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toStringpublic static final int ERROR_NONE
public static final int UNKNOWN_ERROR
public static final int NULL_PARAMETER
public static final int CLASS_TYPE_MISMATCH
public static final int LIBRARY_NULL
public static final int LIBRARY_TYPE
public SoundSystemException(String message)
public SoundSystemException(String message, int type)
message - Description of the problem.type - Global identifier for type of exception.Copyright © 2017. All rights reserved.