Xj3D VRML/X3D Code API

org.web3d.vrml.lang
Class InvalidTemplateException

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

public class InvalidTemplateException
extends VRMLException

Exception indicating that a definition of a template node is not valid.

An invalid template declaration may occur for one of several reasons, but usually just due to poor synatx. The error may be generated by a parser or by the runtime code as the user interacts with the system.

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

Constructor Summary
InvalidTemplateException(java.lang.String name)
          Create a new exception with no message.
InvalidTemplateException(java.lang.String name, java.lang.String msg)
          Create a new exception with a message.
 
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

InvalidTemplateException

public InvalidTemplateException(java.lang.String name)
Create a new exception with no message.

Parameters:
name - The name of the template that caused the error

InvalidTemplateException

public InvalidTemplateException(java.lang.String name,
                                java.lang.String msg)
Create a new exception with a message.

Parameters:
name - The name of the template that caused the error
msg - The message associated with this exception

Xj3D VRML/X3D Code API

Copyright © 2001 - 2005 Web3D Consortium