public class IllegalIndexShardStateException extends IndexShardException
ElasticsearchException.WithRestHeaders
Constructor and Description |
---|
IllegalIndexShardStateException(ShardId shardId,
IndexShardState currentState,
String msg) |
IllegalIndexShardStateException(ShardId shardId,
IndexShardState currentState,
String msg,
Throwable ex) |
Modifier and Type | Method and Description |
---|---|
IndexShardState |
currentState() |
RestStatus |
status()
Returns the rest status code associated with this exception.
|
shardId
index
contains, getDetailedMessage, getMostSpecificCause, getRootCause, unwrapCause
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
public IllegalIndexShardStateException(ShardId shardId, IndexShardState currentState, String msg)
public IllegalIndexShardStateException(ShardId shardId, IndexShardState currentState, String msg, Throwable ex)
public IndexShardState currentState()
public RestStatus status()
ElasticsearchException
status
in class ElasticsearchException
Copyright © 2009–2015. All rights reserved.