Class GinqSyntaxError

All Implemented Interfaces:
Serializable

public class GinqSyntaxError extends AssertionError
Represents GINQ syntax error
Since:
4.0.0
See Also:
  • Constructor Details

    • GinqSyntaxError

      public GinqSyntaxError(String message, Expression expression)
      Creates a syntax error using the position of the given expression.
      Parameters:
      message - the error message
      expression - the expression supplying line and column information
    • GinqSyntaxError

      public GinqSyntaxError(String message, int line, int column)
      Creates a syntax error at the supplied source position.
      Parameters:
      message - the error message
      line - the source line
      column - the source column
  • Method Details

    • getLine

      public int getLine()
      Returns the source line of the error.
      Returns:
      the line number
    • getColumn

      public int getColumn()
      Returns the source column of the error.
      Returns:
      the column number