Xj3D VRML/X3D Code API

org.web3d.vrml.lang
Class UnsupportedNodeException

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.UnsupportedNodeException
All Implemented Interfaces:
java.io.Serializable

public class UnsupportedNodeException
extends VRMLException

Exception indicating that a node is not supported by the profiles and components selected for the file/stream.

A message is automatically generated for this node, so the caller only needs to provide a string representing the name of the node. You'll need to be careful about this because the constructor signature is just like all the others that take a single string, which is normally just the complete message. For example, use the exception like this:

   throw new UnsupportedNodeException("Inline");
 

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

Constructor Summary
UnsupportedNodeException(java.lang.String name)
          Create a new exception for the node of the given name.
 
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

UnsupportedNodeException

public UnsupportedNodeException(java.lang.String name)
Create a new exception for the node of the given name.

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

Xj3D VRML/X3D Code API

Copyright © 2001 - 2005 Web3D Consortium