public class ResourceNotFoundException extends ElasticsearchException
RestStatus.NOT_FOUND status codeToXContent.DelegatingMapParams, ToXContent.MapParams, ToXContent.ParamsWriteable.Reader<V>, Writeable.Writer<V>REST_EXCEPTION_SKIP_CAUSE, REST_EXCEPTION_SKIP_CAUSE_DEFAULT, REST_EXCEPTION_SKIP_STACK_TRACE, REST_EXCEPTION_SKIP_STACK_TRACE_DEFAULT, UNKNOWN_VERSION_ADDEDEMPTY_PARAMS| Constructor and Description |
|---|
ResourceNotFoundException(StreamInput in) |
ResourceNotFoundException(java.lang.String msg,
java.lang.Object... args) |
ResourceNotFoundException(java.lang.String msg,
java.lang.Throwable cause,
java.lang.Object... args) |
| Modifier and Type | Method and Description |
|---|---|
RestStatus |
status()
Returns the rest status code associated with this exception.
|
addHeader, addHeader, causeToXContent, getDetailedMessage, getExceptionName, getExceptionName, getHeader, getHeaderKeys, getId, getIndex, getResourceId, getResourceType, getRootCause, getShardId, guessRootCauses, guessRootCauses, innerToXContent, isRegistered, readException, readStackTrace, renderException, renderHeader, setIndex, setIndex, setResources, setShard, setShard, toString, toXContent, toXContent, unwrapCause, writeStackTraces, writeTopublic ResourceNotFoundException(java.lang.String msg,
java.lang.Object... args)
public ResourceNotFoundException(java.lang.String msg,
java.lang.Throwable cause,
java.lang.Object... args)
public ResourceNotFoundException(StreamInput in) throws java.io.IOException
java.io.IOExceptionpublic final RestStatus status()
ElasticsearchExceptionstatus in class ElasticsearchException