presto-parser/src/main/java/io/prestosql/sql/parser/SqlParser.java/SqlParser/syntaxError
class SqlParser:        @Override
        public void syntaxError(Recognizer<?, ?> recognizer, Object offendingSymbol, int line, int charPositionInLine, String message, RecognitionException e)
        {
            throw new ParsingException(message, e, line, charPositionInLine);
        }