Class NamedObjectNotFoundException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
java.lang.IllegalArgumentException
org.elasticsearch.common.xcontent.XContentParseException
org.elasticsearch.common.xcontent.NamedObjectNotFoundException
- All Implemented Interfaces:
Serializable
Thrown when
NamedXContentRegistry
cannot locate a named object to
parse for a particular name- See Also:
- Serialized Form
-
Constructor Summary
ConstructorsConstructorDescriptionNamedObjectNotFoundException(XContentLocation location, String message, Iterable<String> candidates)
-
Method Summary
Methods inherited from class org.elasticsearch.common.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.
-