|
||||||||||
| 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
|
+--quicktime.QTException
|
+--quicktime.io.QTIOException
A General catch all class that is used to signal errors that occur from QT calls
| Constructor Summary | |
QTIOException(int val,
java.lang.String fName)
Creates an exception with a specific error number |
|
QTIOException(java.lang.String errorString)
Creates an exception with a string representation. |
|
| Method Summary | |
static void |
checkError(int err,
java.lang.String fName)
This method will throw an exception if the incoming err argument is a non-zero value. |
java.lang.String |
getFilePath()
Returns the path of the file that caused the exception to be thrown |
| Methods inherited from class quicktime.QTException |
checkError, errorCode, errorCodeToString, errorCodeToString, isDrawingError, toString |
| Methods inherited from class java.lang.Throwable |
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace |
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
public QTIOException(java.lang.String errorString)
errorString - a description of the exception
public QTIOException(int val,
java.lang.String fName)
val - the error number| Method Detail |
public static void checkError(int err,
java.lang.String fName)
throws QTIOException
err - the result or error code if non-zero an exception is thrown
QTIOExceptionpublic java.lang.String getFilePath()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||