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 SummaryConstructorsConstructorDescriptionNamedObjectNotFoundException(XContentLocation location, String message, Iterable<String> candidates) 
- 
Method SummaryMethods inherited from class org.elasticsearch.xcontent.XContentParseExceptiongetColumnNumber, getLineNumber, getLocation, getMessageMethods inherited from class java.lang.ThrowableaddSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
- 
Constructor Details- 
NamedObjectNotFoundExceptionpublic NamedObjectNotFoundException(XContentLocation location, String message, Iterable<String> candidates) 
 
- 
- 
Method Details- 
getCandidatesThe possible matches.
 
-