Class ParsingException

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

public class ParsingException extends ElasticsearchException
Exception that can be used when parsing queries with a given XContentParser. Can contain information about location of the error.
See Also:
  • Field Details

  • Constructor Details

    • ParsingException

      public ParsingException(org.elasticsearch.xcontent.XContentLocation contentLocation, String msg, Object... args)
    • ParsingException

      public ParsingException(org.elasticsearch.xcontent.XContentLocation contentLocation, String msg, Throwable cause, Object... args)
    • ParsingException

      public ParsingException(int line, int col, String msg, Throwable cause)
      This constructor is provided for use in unit tests where a XContentParser may not be available
    • ParsingException

      public ParsingException(StreamInput in) throws IOException
      Throws:
      IOException
  • Method Details