aboutsummaryrefslogtreecommitdiff
path: root/calculator-java/src/main/java/ch/bfh/parser/ParserException.java
blob: a85e3b25c739b975202beb5f4654b9970d65de47 (plain)
1
2
3
4
5
6
7
8
package ch.bfh.parser;

import ch.bfh.lexer.Token;

public class ParserException extends RuntimeException {
    public ParserException(String s) { super(s); }
    public ParserException(Token token, String s) { super("Last read token: '"+token.str+"', "+s); }
}