Class GroovySyntaxError

java.lang.Object
java.lang.Throwable
java.lang.Error
java.lang.AssertionError
org.apache.groovy.parser.antlr4.GroovySyntaxError
All Implemented Interfaces:
java.io.Serializable

public class GroovySyntaxError
extends java.lang.AssertionError
Represents a syntax error of groovy program
See Also:
Serialized Form
  • Field Summary

    Fields
    Modifier and Type Field Description
    static int LEXER  
    static int PARSER  
  • Constructor Summary

    Constructors
    Constructor Description
    GroovySyntaxError​(java.lang.String message, int source, int line, int column)  
  • Method Summary

    Modifier and Type Method Description
    int getColumn()  
    int getLine()  
    int getSource()  

    Methods inherited from class java.lang.Throwable

    addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
  • Field Details

  • Constructor Details

    • GroovySyntaxError

      public GroovySyntaxError​(java.lang.String message, int source, int line, int column)
  • Method Details

    • getSource

      public int getSource()
    • getLine

      public int getLine()
    • getColumn

      public int getColumn()