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:
java.io.Serializable
public class NamedObjectNotFoundException extends XContentParseException
Thrown when
NamedXContentRegistry
cannot locate a named object to
parse for a particular name- See Also:
- Serialized Form
-
Constructor Summary
Constructors Constructor Description NamedObjectNotFoundException(XContentLocation location, java.lang.String message, java.lang.Iterable<java.lang.String> candidates)
-
Method Summary
Modifier and Type Method Description java.lang.Iterable<java.lang.String>
getCandidates()
The possible matches.Methods inherited from class org.elasticsearch.common.xcontent.XContentParseException
getColumnNumber, getLineNumber, getLocation, getMessage
-
Constructor Details
-
NamedObjectNotFoundException
public NamedObjectNotFoundException(XContentLocation location, java.lang.String message, java.lang.Iterable<java.lang.String> candidates)
-
-
Method Details
-
getCandidates
public java.lang.Iterable<java.lang.String> getCandidates()The possible matches.
-