Class SQLParserErrorListener

java.lang.Object
org.antlr.v4.runtime.BaseErrorListener
org.apache.shardingsphere.sql.parser.core.database.parser.SQLParserErrorListener
All Implemented Interfaces:
org.antlr.v4.runtime.ANTLRErrorListener

public final class SQLParserErrorListener extends org.antlr.v4.runtime.BaseErrorListener
SQL parser error listener.
  • Constructor Details

    • SQLParserErrorListener

      public SQLParserErrorListener()
  • Method Details

    • getInstance

      public static SQLParserErrorListener getInstance()
      Get instance.
      Returns:
      instance
    • syntaxError

      public void syntaxError(org.antlr.v4.runtime.Recognizer<?,?> recognizer, Object offendingSymbol, int line, int charPositionInLine, String message, org.antlr.v4.runtime.RecognitionException e) throws org.antlr.v4.runtime.misc.ParseCancellationException
      Specified by:
      syntaxError in interface org.antlr.v4.runtime.ANTLRErrorListener
      Overrides:
      syntaxError in class org.antlr.v4.runtime.BaseErrorListener
      Throws:
      org.antlr.v4.runtime.misc.ParseCancellationException