Xj3D VRML/X3D Code API

org.web3d.vrml.lang
Class NodeException

java.lang.Object
  extended byjava.lang.Throwable
      extended byjava.lang.Exception
          extended byjava.lang.RuntimeException
              extended byorg.web3d.vrml.lang.VRMLException
                  extended byorg.web3d.vrml.lang.NodeException
All Implemented Interfaces:
java.io.Serializable
Direct Known Subclasses:
InvalidNodeTypeException

public class NodeException
extends VRMLException

Superclass of all exceptions relating to node errors.

Version:
$Revision: 1.3 $
Author:
Justin Couch
See Also:
Serialized Form

Constructor Summary
NodeException(java.lang.String name)
          Create a blank node exception that refers to the given node type.
NodeException(java.lang.String name, java.lang.String msg)
          Create an exception for the given node that has a message associated with it.
 
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

NodeException

public NodeException(java.lang.String name)
Create a blank node exception that refers to the given node type.

Parameters:
name - The name of the node type that caused the error

NodeException

public NodeException(java.lang.String name,
                     java.lang.String msg)
Create an exception for the given node that has a message associated with it.

Parameters:
name - The name of the node type that caused the error
msg - The message to associate with this error

Xj3D VRML/X3D Code API

Copyright © 2001 - 2005 Web3D Consortium