Xj3D 2.0 VRML/X3D Code API

vrml
Class InvalidFieldChangeException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by java.lang.RuntimeException
              extended by java.lang.IllegalArgumentException
                  extended by vrml.InvalidFieldChangeException
All Implemented Interfaces:
java.io.Serializable

public class InvalidFieldChangeException
extends java.lang.IllegalArgumentException

An exception for fields being changed when they should be.

InvalidFieldChangeException may be thrown as a result of all sorts of illegal field changes, for example: 1.Adding a node from one World as the child of a node in another World. 2.Creating a circularity in a scene graph. 3.Setting an invalid string on enumerated fields, such as the fogType field of the Fog node. 4.Calling the set1Value(), addValue() or delete() on a Field object obtained by the getEventIn() method.

Version:
$Revision: 1.1 $
Author:
Alan Hudson
See Also:
Serialized Form

Constructor Summary
InvalidFieldChangeException()
           
InvalidFieldChangeException(java.lang.String s)
           
 
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

InvalidFieldChangeException

public InvalidFieldChangeException()

InvalidFieldChangeException

public InvalidFieldChangeException(java.lang.String s)

Xj3D 2.0 VRML/X3D Code API

Copyright © 2001 - 2006 Web3D Consortium