Aviatrix3D
2.1.0

org.j3d.aviatrix3d
Class InvalidDataTypeException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by java.lang.RuntimeException
              extended by org.j3d.aviatrix3d.InvalidDataTypeException
All Implemented Interfaces:
java.io.Serializable

public class InvalidDataTypeException
extends java.lang.RuntimeException

An exception for when an attempt is made to set or fetch a value from any node in the scene graph, but the user-provided data type does not match that required.

This generic exception can be found anywhere in the scene graph nodes. In particular, you'll find it creeping up in methods that could be used to fetch data for multiple internal parameter types, but require a specific data type. For example, the method takes a float[] but the internal data is stored as int[].

Version:
$Revision: 1.2 $
Author:
Justin Couch
See Also:
Serialized Form

Constructor Summary
InvalidDataTypeException()
          Creates a new exception without detail message.
InvalidDataTypeException(java.lang.String msg)
          Constructs an exception with the specified detail message.
 
Method Summary
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

InvalidDataTypeException

public InvalidDataTypeException()
Creates a new exception without detail message.


InvalidDataTypeException

public InvalidDataTypeException(java.lang.String msg)
Constructs an exception with the specified detail message.

Parameters:
msg - the detail message.

Aviatrix3D
2.1.0

Latest Info from http://aviatrix3d.j3d.org/
Copyright © 2003 - 2009 j3d.org