ch.akuhn.fame.parser
Class ParseError
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
ch.akuhn.fame.parser.ParseError
- All Implemented Interfaces:
- Serializable
public class ParseError
- extends RuntimeException
- See Also:
- Serialized Form
| Methods inherited from class java.lang.Throwable |
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString |
pos
public final Position pos
expected
public TokenType expected
found
public Token found
ParseError
public ParseError(String message,
Position pos)
ParseError
public ParseError(TokenType expected,
Token found,
Position pos)