org.apache.tinkerpop.gremlin.language.grammar

## Class GremlinErrorListener

- java.lang.Object
- - org.antlr.v4.runtime.BaseErrorListener
  - - org.apache.tinkerpop.gremlin.language.grammar.GremlinErrorListener

- All Implemented Interfaces:
    org.antlr.v4.runtime.ANTLRErrorListener

      public class GremlinErrorListener
      extends org.antlr.v4.runtime.BaseErrorListener

  Gremlin error listener class which throw `GremlinParserException` on syntax error.

- - ### Constructor Summary

    Constructors
    Constructor and Description
    `GremlinErrorListener()`

  - ### Method Summary

    All Methods Instance Methods Concrete Methods
    Modifier and Type | Method and Description
    --- | ---
    `void` | `syntaxError(org.antlr.v4.runtime.Recognizer<?,?> recognizer, Object offendingSymbol, int line, int charPositionInLine, String msg, org.antlr.v4.runtime.RecognitionException e)`

    - ### Methods inherited from class org.antlr.v4.runtime.BaseErrorListener

      `reportAmbiguity, reportAttemptingFullContext, reportContextSensitivity`

    - ### Methods inherited from class java.lang.Object

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- - ### Constructor Detail

    - #### GremlinErrorListener

          public GremlinErrorListener()

  - ### Method Detail

    - #### syntaxError

          public void syntaxError(org.antlr.v4.runtime.Recognizer<?,?> recognizer,
                                  Object offendingSymbol,
                                  int line,
                                  int charPositionInLine,
                                  String msg,
                                  org.antlr.v4.runtime.RecognitionException e)

      Specified by:
        `syntaxError` in interface `org.antlr.v4.runtime.ANTLRErrorListener`
      Overrides:
        `syntaxError` in class `org.antlr.v4.runtime.BaseErrorListener`

Copyright © 2013–2022 Apache Software Foundation. All rights reserved.