Class SyntaxException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by SyntaxException
All Implemented Interfaces:
java.io.Serializable

public class SyntaxException
extends java.lang.Exception

Simple Exception class for reporting syntax errors found by the Parser.

See Also:
Serialized Form

Constructor Summary
SyntaxException()
          Create a new SyntaxException with no information.
SyntaxException(java.lang.String s)
          Create a new SyntaxException with a description.
 
Method Summary
 
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

SyntaxException

public SyntaxException()
Create a new SyntaxException with no information.


SyntaxException

public SyntaxException(java.lang.String s)
Create a new SyntaxException with a description.

Parameters:
s - the descriptive string