Class ParsingException

All Implemented Interfaces:
Serializable, Writeable, org.elasticsearch.xcontent.ToXContent, org.elasticsearch.xcontent.ToXContentFragment

public class ParsingException extends EsqlClientException
See Also:
  • Constructor Details

    • ParsingException

      public ParsingException(String message, Exception cause, int line, int charPositionInLine)
    • ParsingException

      public ParsingException(String message, Object... args)
      To be used only if the exception cannot be associated with a specific position in the query. Error message will start with line -1:-1: instead of using specific location.
    • ParsingException

      public ParsingException(Source source, String message, Object... args)
    • ParsingException

      public ParsingException(Exception cause, Source source, String message, Object... args)
  • Method Details

    • combineParsingExceptions

      public static ParsingException combineParsingExceptions(Iterator<ParsingException> parsingExceptions)
      Combine multiple ParsingException into one, this is used by LogicalPlanBuilder to consolidate multiple named parameters related ParsingException.
    • getLineNumber

      public int getLineNumber()
    • getColumnNumber

      public int getColumnNumber()
    • getErrorMessage

      public String getErrorMessage()
    • getMessage

      public String getMessage()
      Overrides:
      getMessage in class Throwable