Package org.web3d.vrml.lang
Class FieldExistsException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
org.web3d.vrml.lang.VRMLException
org.web3d.vrml.lang.FieldException
org.web3d.vrml.lang.FieldExistsException
- All Implemented Interfaces:
Serializable
Exception indicating that a field declaration already exists.
This is generated when either a script or proto defines a field twice with two different definitions but the same name. May be generated during the parsing process or by the field during runtime as the user is trying to modify it.
- Version:
- $Revision: 1.2 $
- Author:
- Justin Couch
- See Also:
-
Field Summary
Fields inherited from class org.web3d.vrml.lang.FieldException
fieldName
-
Constructor Summary
ConstructorsConstructorDescriptionCreate a new exception with no message.Create a new exception with a message.FieldExistsException
(String msg, String field) Create a new exception with a message and the name of the field that had the error. -
Method Summary
Methods inherited from class org.web3d.vrml.lang.FieldException
getFieldName, setFieldName
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
FieldExistsException
public FieldExistsException()Create a new exception with no message. -
FieldExistsException
Create a new exception with a message.- Parameters:
msg
- The message associated with this exception
-
FieldExistsException
-