public final class IndexNotFoundException extends ResourceNotFoundException
ToXContent.DelegatingMapParams, ToXContent.MapParams, ToXContent.Params
Writeable.Reader<V>, Writeable.Writer<V>
REST_EXCEPTION_SKIP_STACK_TRACE, REST_EXCEPTION_SKIP_STACK_TRACE_DEFAULT
EMPTY_PARAMS
Constructor and Description |
---|
IndexNotFoundException(Index index) |
IndexNotFoundException(Index index,
java.lang.Throwable cause) |
IndexNotFoundException(StreamInput in) |
IndexNotFoundException(java.lang.String index) |
IndexNotFoundException(java.lang.String message,
java.lang.String index)
Construct with a custom message.
|
IndexNotFoundException(java.lang.String index,
java.lang.Throwable cause) |
status
addHeader, addHeader, addMetadata, addMetadata, failureFromXContent, fromXContent, generateFailureXContent, generateThrowableXContent, getDetailedMessage, getExceptionName, getExceptionName, getHeader, getHeaderKeys, getHeaders, getId, getIndex, getMetadata, getMetadata, getMetadataKeys, getResourceId, getResourceType, getRootCause, getShardId, guessRootCauses, guessRootCauses, innerToXContent, isRegistered, metadataToXContent, readException, readStackTrace, setIndex, setIndex, setResources, setShard, toString, toXContent, unwrapCause, writeStackTraces, writeTo
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
isFragment
public IndexNotFoundException(java.lang.String message, java.lang.String index)
public IndexNotFoundException(java.lang.String index)
public IndexNotFoundException(java.lang.String index, java.lang.Throwable cause)
public IndexNotFoundException(Index index)
public IndexNotFoundException(Index index, java.lang.Throwable cause)
public IndexNotFoundException(StreamInput in) throws java.io.IOException
java.io.IOException