All Packages Class Hierarchy This Package Previous Next Index
Class quicktime.io.QTIOException
java.lang.Object
|
+----java.lang.Throwable
|
+----java.lang.Exception
|
+----quicktime.QTException
|
+----quicktime.io.QTIOException
- public class QTIOException
- extends QTException
A General catch all class that is used to signal errors that occur from QT calls
-
QTIOException(int, String)
- Creates an exception with a specific error number
-
QTIOException(String)
- Creates an exception with a string representation.
-
checkError(int, String)
- This method will throw an exception if the incoming err argument is
a non-zero value.
-
getFilePath()
- Returns the path of the file that caused the exception to be thrown
QTIOException
public QTIOException(String fName)
- Creates an exception with a string representation.
- Parameters:
- the - fName that generated the exception
QTIOException
public QTIOException(int val,
String fName)
- Creates an exception with a specific error number
- Parameters:
- val - the error number
- the - fName that generated the exception
checkError
public static void checkError(int err,
String fName) throws QTIOException
- This method will throw an exception if the incoming err argument is
a non-zero value.
- Parameters:
- err - the result or error code if non-zero an exception is thrown
getFilePath
public String getFilePath()
- Returns the path of the file that caused the exception to be thrown
- Returns:
- a file path
All Packages Class Hierarchy This Package Previous Next Index