Class SyntaxException

java.lang.Object
  |
  +--java.lang.Throwable
        |
        +--java.lang.Exception
              |
              +--SyntaxException
All Implemented Interfaces:
Serializable

public class SyntaxException
extends Exception

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

See Also:
Serialized Form

Field Summary
 
Fields inherited from class java.lang.Exception
 
Fields inherited from class java.lang.Throwable
 
Constructor Summary
SyntaxException()
          Create a new SyntaxException with no information.
SyntaxException(String s)
          Create a new SyntaxException with a description.
 
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(String s)
Create a new SyntaxException with a description.

Parameters:
s - the descriptive string