@Override
  public void displayRecognitionError(String[] tokenNames, RecognitionException e) {
    errors.add(new ParseError(this, e, tokenNames));
  }
Common class of Legacy and SQL Standard Hive Lexer.
parser/src/java/org/apache/hadoop/hive/ql/parse/GenericHiveLexer.java