quicktime.util
Class UtilException
java.lang.Object
|
+--java.lang.Throwable
|
+--java.lang.Exception
|
+--quicktime.QTException
|
+--quicktime.util.UtilException
- All Implemented Interfaces:
- java.io.Serializable
- public class UtilException
- extends QTException
A General catch all class that is used to signal errors that occur from QT calls
- See Also:
- Serialized Form
Constructor Summary |
UtilException(int val)
Creates an exception with a specific error number |
UtilException(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. |
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 |
UtilException
public UtilException(java.lang.String str)
- Creates an exception with a message that could contain information
that could be displayed to the user.
- Parameters:
str
- The message that could be displayed to the user
UtilException
public UtilException(int val)
- Creates an exception with a specific error number
- Parameters:
val
- the error number
checkError
public static void checkError(int err)
throws UtilException
- 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