Package vrml

Class InvalidFieldChangeException

java.lang.Object
All Implemented Interfaces:
Serializable

public class InvalidFieldChangeException extends 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: