quicktime.qd3d
Class QD3DException

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

public class QD3DException
extends QTException

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

See Also:
Serialized Form

Constructor Summary
QD3DException(int val)
          Creates an exception with a specific error number
QD3DException(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

QD3DException

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

QD3DException

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