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
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
-
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.
-