|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--java.lang.Throwable | +--java.lang.Exception | +--quicktime.QTException
A General catch all class that is used to signal errors that occur from QTML calls
Constructor Summary | |
QTException(int val)
Creates an exception with a specific error number |
|
QTException(java.lang.String str)
Creates an exception with a message that could contain information that could be displayed to the user. |
Method Summary | |
static void |
checkError(int err)
This method will throw an exception if the incoming err argument is a non-zero value. |
int |
errorCode()
Return the error code that generated the exception. |
java.lang.String |
errorCodeToString()
Returns a string that represents the error code of the current QTException. |
static java.lang.String |
errorCodeToString(int eCode)
Returns a string that represents the error code of the current QTException. |
static int |
isDrawingError(int err)
This routine checks the result of drawing operations that may report an error code that is transitory and can be ignored. |
java.lang.String |
toString()
Print current build information and current exception details. |
Methods inherited from class java.lang.Throwable |
fillInStackTrace, getLocalizedMessage, getMessage, printStackTrace, printStackTrace, printStackTrace |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
public QTException(java.lang.String str)
str
- The message that could be displayed to the userpublic QTException(int val)
val
- the error numberMethod Detail |
public static java.lang.String errorCodeToString(int eCode)
public static void checkError(int err) throws QTException
err
- the result or error code if non-zero an exception is thrownpublic static int isDrawingError(int err)
Error codes ignored are:
public int errorCode()
public java.lang.String errorCodeToString()
public java.lang.String toString()
toString
in class java.lang.Throwable
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |