|
Xj3D VRML/X3D Code API | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectjava.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
org.web3d.vrml.lang.VRMLException
org.web3d.vrml.lang.FieldException
org.web3d.vrml.lang.InvalidFieldAccessException
Exception indicating that a field accessType violation has occurred.
This is generated when a field is modifed/read outside its field access paramaters. Typically an initializeOnly field is written to.
| Constructor Summary | |
InvalidFieldAccessException()
Create a new exception with no message. |
|
InvalidFieldAccessException(java.lang.String msg)
Create a new exception with a message. |
|
InvalidFieldAccessException(java.lang.String msg,
java.lang.String field)
Create a new exception with a message and the name of the field that had the error. |
|
InvalidFieldAccessException(java.lang.String field,
VRMLNode node)
Create a new exception for dealing with an invalid field access value. |
|
| Method Summary | |
java.lang.String |
getFieldName()
Get the name of the field that generated this exception. |
void |
setFieldName(java.lang.String field)
Set the name of the field that caused this error. |
| 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 |
public InvalidFieldAccessException()
public InvalidFieldAccessException(java.lang.String msg)
msg - The message associated with this exception
public InvalidFieldAccessException(java.lang.String msg,
java.lang.String field)
msg - The message associated with this exceptionfield - The name of the field with the error
public InvalidFieldAccessException(java.lang.String field,
VRMLNode node)
field - The index of the field being setnode - The node that we are getting the field set in| Method Detail |
public void setFieldName(java.lang.String field)
field - The name of the field with the errorpublic java.lang.String getFieldName()
|
Xj3D VRML/X3D Code API | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||