vrml.eai
Class InvalidNodeException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
vrml.eai.VrmlException
vrml.eai.InvalidNodeException
- All Implemented Interfaces:
- java.io.Serializable
public class InvalidNodeException
- extends VrmlException
Exception that gets thrown when you use a Node
object that
is not valid.
This exception can be thrown by almost every method of
the Node
class. It happens when you try call a
method of an invalid Node
object. Node
objects become invalid after calling their
Node.dispose()
method.
The following example demonstrates how to catch an
InvalidNodeException and print an error message to the
console:
try
{
...
}
catch (vrml.eai.InvalidNodeException ex)
{
System.out.println(ex);
}
- See Also:
- Serialized Form
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 |
InvalidNodeException
public InvalidNodeException()
- Constructor.
InvalidNodeException
public InvalidNodeException(java.lang.String msg)
- Constructor.
- Parameters:
msg
- Message that describes the error.