Class XContentParseException

  • All Implemented Interfaces:
    java.io.Serializable
    Direct Known Subclasses:
    NamedObjectNotFoundException

    public class XContentParseException
    extends java.lang.IllegalArgumentException
    Thrown when one of the XContent parsers cannot parse something.
    See Also:
    Serialized Form
    • Method Summary

      Modifier and Type Method Description
      int getColumnNumber()  
      int getLineNumber()  
      XContentLocation getLocation()  
      java.lang.String getMessage()  
      • Methods inherited from class java.lang.Throwable

        addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
    • Constructor Detail

      • XContentParseException

        public XContentParseException​(java.lang.String message)
      • XContentParseException

        public XContentParseException​(XContentLocation location,
                                      java.lang.String message)
      • XContentParseException

        public XContentParseException​(XContentLocation location,
                                      java.lang.String message,
                                      java.lang.Exception cause)
    • Method Detail

      • getLineNumber

        public int getLineNumber()
      • getColumnNumber

        public int getColumnNumber()
      • getMessage

        public java.lang.String getMessage()
        Overrides:
        getMessage in class java.lang.Throwable