Xj3D VRML/X3D Code API

org.web3d.vrml.lang
Class InvalidNodeTypeException

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
                      extended byorg.web3d.vrml.lang.InvalidNodeTypeException
All Implemented Interfaces:
java.io.Serializable

public class InvalidNodeTypeException
extends NodeException

Superclass of all exceptions relating to node errors.

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

Constructor Summary
InvalidNodeTypeException(java.lang.String name)
          Create a blank node exception that refers to the given node type.
InvalidNodeTypeException(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

InvalidNodeTypeException

public InvalidNodeTypeException(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

InvalidNodeTypeException

public InvalidNodeTypeException(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