Package org.apache.groovy.parser.antlr4
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
- 
Constructor SummaryConstructors Constructor Description GroovySyntaxError(java.lang.String message, int source, int line, int column)
- 
Method SummaryMethods inherited from class java.lang.ThrowableaddSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toStringMethods inherited from class java.lang.Objectclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
- 
Field Details- 
LEXERpublic static final int LEXER- See Also:
- Constant Field Values
 
- 
PARSERpublic static final int PARSER- See Also:
- Constant Field Values
 
 
- 
- 
Constructor Details- 
GroovySyntaxErrorpublic GroovySyntaxError(java.lang.String message, int source, int line, int column)
 
- 
- 
Method Details- 
getSourcepublic int getSource()
- 
getLinepublic int getLine()
- 
getColumnpublic int getColumn()
 
-