|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object java.lang.Throwable java.lang.Exception com.groovemanager.spi.asio.ASIOError
public final class ASIOError
This class is a wrapper for the ASIOError constants It extends Exceptions so everytime a native method returns an ASIOError, which is not ASE_OK or ASE_SUCCESS an ASIOError will be thrown
Field Summary | |
---|---|
(package private) static int |
ASE_HWMalfunction
ASIOError constants |
(package private) static int |
ASE_InvalidMode
ASIOError constants |
(package private) static int |
ASE_InvalidParameter
ASIOError constants |
(package private) static int |
ASE_NoClock
ASIOError constants |
(package private) static int |
ASE_NoMemory
ASIOError constants |
(package private) static int |
ASE_NotPresent
ASIOError constants |
(package private) static int |
ASE_OK
ASIOError constants |
(package private) static int |
ASE_SPNotAdvancing
ASIOError constants |
(package private) static int |
ASE_SUCCESS
ASIOError constants |
private int |
code
The ASIOError constant of this error |
private static long |
serialVersionUID
|
Constructor Summary | |
---|---|
private |
ASIOError(int code)
Private constructor. |
Method Summary | |
---|---|
private static int |
ASE_HWMalfunction()
|
private static int |
ASE_InvalidMode()
|
private static int |
ASE_InvalidParameter()
|
private static int |
ASE_NoClock()
|
private static int |
ASE_NoMemory()
|
private static int |
ASE_NotPresent()
|
private static int |
ASE_OK()
|
private static int |
ASE_SPNotAdvancing()
|
private static int |
ASE_SUCCESS()
|
(package private) int |
getCode()
Get the ASIOError constant of this ASIOError |
(package private) static String |
getMessage(int code)
Get a qualified error message for a given ASIOError constant |
(package private) static String |
getMessage(long code)
|
(package private) static void |
throwASIOError(int code)
Throw an ASIOError if the constant is not ASE_OK and not ASE_SUCCESS |
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 |
---|
private static final long serialVersionUID
static final int ASE_OK
static final int ASE_SUCCESS
static final int ASE_NotPresent
static final int ASE_HWMalfunction
static final int ASE_InvalidParameter
static final int ASE_InvalidMode
static final int ASE_SPNotAdvancing
static final int ASE_NoClock
static final int ASE_NoMemory
private int code
Constructor Detail |
---|
private ASIOError(int code)
code
- The ASIOError constantMethod Detail |
---|
int getCode()
private static int ASE_OK()
private static int ASE_SUCCESS()
private static int ASE_NotPresent()
private static int ASE_HWMalfunction()
private static int ASE_InvalidParameter()
private static int ASE_InvalidMode()
private static int ASE_SPNotAdvancing()
private static int ASE_NoClock()
private static int ASE_NoMemory()
static String getMessage(int code)
code
- The ASIOError constant
static String getMessage(long code)
getMessage(int code)
static void throwASIOError(int code) throws ASIOError
code
- The ASIOError constant
ASIOError
- if the given constant is not a success constant
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |