EDU.bmrb.starlibj
Class NameViolatesStarSyntax

java.lang.Object
  |
  +--java.lang.Throwable
        |
        +--java.lang.Exception
              |
              +--java.lang.RuntimeException
                    |
                    +--EDU.bmrb.starlibj.NameViolatesStarSyntax
All Implemented Interfaces:
java.io.Serializable

public class NameViolatesStarSyntax
extends java.lang.RuntimeException

An attempt was made to use a string as a name for some star, node but the string was not a valid name. For example, trying to use "asdf" as the name of a saveframe instead of "save_asdf", or trying to use "asdf" as the name of a tag (no leading underscore).

See Also:
Serialized Form

Field Summary
protected  java.lang.String msg
           
 
Constructor Summary
NameViolatesStarSyntax(java.lang.String name, java.lang.String type)
           
 
Method Summary
 java.lang.String getMessage()
           
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getLocalizedMessage, printStackTrace, printStackTrace, printStackTrace, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

msg

protected java.lang.String msg
Constructor Detail

NameViolatesStarSyntax

public NameViolatesStarSyntax(java.lang.String name,
                              java.lang.String type)
Parameters:
name - The string name that violated the syntax
type - String describing the type of syntax it should have been.
Method Detail

getMessage

public java.lang.String getMessage()
Overrides:
getMessage in class java.lang.Throwable