class BaseParser {

    protected final void die(String message) throws ParserException {
        String line = toParse.split("\n")[currentLine];
        throw new ParserException(message + " - " + line, currentLine + 1, currentPosition);
    }

    public  BaseParser(String toParse);

}