Class XContentParseException

java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
java.lang.IllegalArgumentException
org.elasticsearch.common.xcontent.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
  • Constructor Summary

    Constructors 
    Constructor Description
    XContentParseException​(java.lang.String message)  
    XContentParseException​(XContentLocation location, java.lang.String message)  
    XContentParseException​(XContentLocation location, java.lang.String message, java.lang.Exception cause)  
  • Method Summary

    Modifier and Type Method Description
    java.lang.String getBareMessage()
    Get the exception message without location information.
    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