public class IllegalShardRoutingStateException extends RoutingException
ElasticsearchException.WithRestHeaders
Constructor and Description |
---|
IllegalShardRoutingStateException(ShardRouting shard,
String message) |
IllegalShardRoutingStateException(ShardRouting shard,
String message,
Throwable cause) |
Modifier and Type | Method and Description |
---|---|
ShardRouting |
shard()
Returns the shard instance referenced by this exception
|
contains, getDetailedMessage, getMostSpecificCause, getRootCause, status, unwrapCause
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
public IllegalShardRoutingStateException(ShardRouting shard, String message)
public IllegalShardRoutingStateException(ShardRouting shard, String message, Throwable cause)
public ShardRouting shard()
Copyright © 2009–2015. All rights reserved.