Class ParsingException

java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
org.elasticsearch.ElasticsearchException
org.elasticsearch.common.ParsingException
All Implemented Interfaces:
java.io.Serializable, Writeable, org.elasticsearch.common.xcontent.ToXContent, org.elasticsearch.common.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:
Serialized Form
  • Field Details

  • Constructor Details

    • ParsingException

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

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

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

      public ParsingException​(StreamInput in) throws java.io.IOException
      Throws:
      java.io.IOException
  • Method Details