EDU.bmrb.starlibj
Class NameViolatesStarSyntax
java.lang.Object
|
+--java.lang.Throwable
|
+--java.lang.Exception
|
+--java.lang.RuntimeException
|
+--EDU.bmrb.starlibj.NameViolatesStarSyntax
- 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
|
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 |
msg
protected java.lang.String msg
NameViolatesStarSyntax
public NameViolatesStarSyntax(java.lang.String name,
java.lang.String type)
- Parameters:
name
- The string name that violated the syntaxtype
- String describing the type of syntax it should have been.
getMessage
public java.lang.String getMessage()
- Overrides:
- getMessage in class java.lang.Throwable