Module org.elasticsearch.xcontent
Package org.elasticsearch.xcontent
Class NamedObjectNotFoundException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
java.lang.IllegalArgumentException
org.elasticsearch.xcontent.XContentParseException
org.elasticsearch.xcontent.NamedObjectNotFoundException
- All Implemented Interfaces:
Serializable
Thrown when
NamedXContentRegistry
cannot locate a named object to
parse for a particular name- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionNamedObjectNotFoundException
(XContentLocation location, String message, Iterable<String> candidates) -
Method Summary
Methods inherited from class org.elasticsearch.xcontent.XContentParseException
getColumnNumber, getLineNumber, getLocation, getMessage
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
NamedObjectNotFoundException
public NamedObjectNotFoundException(XContentLocation location, String message, Iterable<String> candidates)
-
-
Method Details
-
getCandidates
The possible matches.
-