quicktime.vr
Class QTVRException

java.lang.Object
  |
  +--java.lang.Throwable
        |
        +--java.lang.Exception
              |
              +--quicktime.QTException
                    |
                    +--quicktime.vr.QTVRException
All Implemented Interfaces:
java.io.Serializable

public class QTVRException
extends QTException

A General catch all class that is used to signal errors that occur from QT calls

See Also:
Serialized Form

Constructor Summary
QTVRException(int val)
          Creates an exception with a specific error number
QTVRException(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 quicktime.QTException
errorCode, errorCodeToString, errorCodeToString, isDrawingError, toString
 
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

QTVRException

public QTVRException(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

QTVRException

public QTVRException(int val)
Creates an exception with a specific error number
Parameters:
val - the error number
Method Detail

checkError

public static void checkError(int err)
                       throws QTVRException
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