|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjava.lang.Throwable
java.lang.Exception
paulscode.sound.SoundSystemException
public class SoundSystemException
The SoundSystemException class is used to provide information about serious
errors.
SoundSystem License:
You are free to use this library for any purpose, commercial or otherwise.
You may modify this library or source code, and distribute it any way you
like, provided the following conditions are met:
1) You may not falsely claim to be the author of this library or any
unmodified portion of it.
2) You may not copyright this library or a modified version of it and then
sue me for copyright infringement.
3) If you modify the source code, you must clearly document the changes
made before redistributing the modified source code, so other users know
it is not the original code.
4) You are not required to give me credit for this library in any derived
work, but if you do, you must also mention my website:
http://www.paulscode.com
5) I the author will not be responsible for any damages (physical,
financial, or otherwise) caused by the use if this library or any part
of it.
6) I the author do not guarantee, warrant, or make any representations,
either expressed or implied, regarding the use of this library or any
part of it.
Author: Paul Lamb
http://www.paulscode.com
| Field Summary | |
|---|---|
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 Summary | |
|---|---|
SoundSystemException(java.lang.String message)
Constructor: Generic exception. |
|
SoundSystemException(java.lang.String message,
int type)
Constructor: Specify the error message and type of exception. |
|
| Method Summary | |
|---|---|
int |
getType()
|
| Methods inherited from class java.lang.Throwable |
|---|
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
public 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
| Constructor Detail |
|---|
public SoundSystemException(java.lang.String message)
public SoundSystemException(java.lang.String message,
int type)
message - Description of the problem.type - Global identifier for type of exception.| Method Detail |
|---|
public int getType()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||