com.singularsys.jep.configurableparser.matchers
Class GrammarException
java.lang.Object
java.lang.Throwable
java.lang.Exception
com.singularsys.jep.JepException
com.singularsys.jep.ParseException
com.singularsys.jep.configurableparser.matchers.GrammarException
- All Implemented Interfaces:
- java.io.Serializable
public class GrammarException
- extends ParseException
Signals grammatical errors.
- Author:
- Richard Morris
- See Also:
- Serialized Form
Methods inherited from class java.lang.Throwable |
fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
GrammarException
public GrammarException(java.lang.String message,
Token expected,
Token actual)
GrammarException
public GrammarException(java.lang.String message,
Token actual)
GrammarException
public GrammarException(java.lang.String message,
int lineNumber,
int columnNumber)
- Parameters:
message
- lineNumber
- columnNumber
-
getExpected
public Token getExpected()
getActual
public Token getActual()
Copyright © 2010 Singular Systems http://www.singularsys.com/jep