edu.rice.cs.util.sexp
Class LexingException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by java.lang.RuntimeException
              extended by edu.rice.cs.util.sexp.LexingException
All Implemented Interfaces:
Serializable

 class LexingException
extends RuntimeException

This exception is used by the lexer. It extends RuntimeException so that each place readToken() is used on the lexer doesn't need to be declared to throw an SExpParseException. This exception is handled by the parser and turned into a parse exception eventually.


Constructor Summary
LexingException(String msg)
           
 
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

LexingException

public LexingException(String msg)