|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectjava.lang.Throwable
java.lang.Exception
com.groovemanager.spi.rex.REXError
This Exception class provides a collection of all the REXError error codes that can be returned by calls to the REX API. An instance of this class can be thrown, if the returned error code was not expected.
| Field Summary | |
|---|---|
(package private) static int |
APITooOld
REXError constants |
(package private) static int |
BufferTooSmall
REXError constants |
private int |
code
The REXError constant that caused this Exception |
(package private) static int |
DLLAlreadyLoaded
REXError constants |
(package private) static int |
DLLNotFound
REXError constants |
(package private) static int |
DLLNotLoaded
REXError constants |
(package private) static int |
DLLTooOld
REXError constants |
(package private) static int |
FileCorrupt
REXError constants |
(package private) static int |
FileHasZeroLoopLength
REXError constants |
(package private) static int |
InvalidArgument
REXError constants |
(package private) static int |
InvalidHandle
REXError constants |
(package private) static int |
InvalidSampleRate
REXError constants |
(package private) static int |
InvalidSize
REXError constants |
(package private) static int |
InvalidSlice
REXError constants |
(package private) static int |
InvalidTempo
REXError constants |
(package private) static int |
IsBeingPreviewed
REXError constants |
(package private) static int |
NoCreatorInfoAvailable
REXError constants |
(package private) static int |
NoError
REXError constants |
(package private) static int |
NotBeingPreviewed
REXError constants |
(package private) static int |
NotEnoughMemoryForDLL
REXError constants |
(package private) static int |
OperationAbortedByUser
REXError constants |
(package private) static int |
OSVersionNotSupported
REXError constants |
(package private) static int |
OutOfMemory
REXError constants |
(package private) static int |
REX2FileTooNew
REXError constants |
(package private) static int |
UnableToLoadDLL
REXError constants |
| Constructor Summary | |
|---|---|
private |
REXError(int code)
Private constructor. |
| Method Summary | |
|---|---|
private static int |
APITooOld()
|
private static int |
BufferTooSmall()
|
private static int |
DLLAlreadyLoaded()
|
private static int |
DLLNotFound()
|
private static int |
DLLNotLoaded()
|
private static int |
DLLTooOld()
|
private static int |
FileCorrupt()
|
private static int |
FileHasZeroLoopLength()
|
(package private) int |
getCode()
Get the REXError constant that caused this Exception |
(package private) static java.lang.String |
getMessage(int code)
Get an error message out of a REXError constant |
private static int |
InvalidArgument()
|
private static int |
InvalidHandle()
|
private static int |
InvalidSampleRate()
|
private static int |
InvalidSize()
|
private static int |
InvalidSlice()
|
private static int |
InvalidTempo()
|
private static int |
IsBeingPreviewed()
|
private static int |
NoCreatorInfoAvailable()
|
private static int |
NoError()
|
private static int |
NotBeingPreviewed()
|
private static int |
NotEnoughMemoryForDLL()
|
private static int |
OperationAbortedByUser()
|
private static int |
OSVersionNotSupported()
|
private static int |
OutOfMemory()
|
private static int |
REX2FileTooNew()
|
(package private) static void |
throwREXError(int code)
Verify of the result from a call to an element of the REX API succeded or returned an error code. |
private static int |
UnableToLoadDLL()
|
| 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 |
|---|
static final int APITooOld
static final int BufferTooSmall
private int code
static final int DLLAlreadyLoaded
static final int DLLNotFound
static final int DLLNotLoaded
static final int DLLTooOld
static final int FileCorrupt
static final int FileHasZeroLoopLength
static final int InvalidArgument
static final int InvalidHandle
static final int InvalidSampleRate
static final int InvalidSize
static final int InvalidSlice
static final int InvalidTempo
static final int IsBeingPreviewed
static final int NoCreatorInfoAvailable
static final int NoError
static final int NotBeingPreviewed
static final int NotEnoughMemoryForDLL
static final int OperationAbortedByUser
static final int OSVersionNotSupported
static final int OutOfMemory
static final int REX2FileTooNew
static final int UnableToLoadDLL
| Constructor Detail |
|---|
private REXError(int code)
code - The REXError constant that occured| Method Detail |
|---|
private static int APITooOld()
private static int BufferTooSmall()
private static int DLLAlreadyLoaded()
private static int DLLNotFound()
private static int DLLNotLoaded()
private static int DLLTooOld()
private static int FileCorrupt()
private static int FileHasZeroLoopLength()
int getCode()
static java.lang.String getMessage(int code)
code - The REXError constant
private static int InvalidArgument()
private static int InvalidHandle()
private static int InvalidSampleRate()
private static int InvalidSize()
private static int InvalidSlice()
private static int InvalidTempo()
private static int IsBeingPreviewed()
private static int NoCreatorInfoAvailable()
private static int NoError()
private static int NotBeingPreviewed()
private static int NotEnoughMemoryForDLL()
private static int OperationAbortedByUser()
private static int OSVersionNotSupported()
private static int OutOfMemory()
private static int REX2FileTooNew()
static void throwREXError(int code)
throws REXError
code - The REXError constant returned by the native function
REXError - If the constant is not the same as NoErrorprivate static int UnableToLoadDLL()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||