org.elasticsearch.action
Class UnavailableShardsException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
org.elasticsearch.ElasticSearchException
org.elasticsearch.action.UnavailableShardsException
- All Implemented Interfaces:
- Serializable
public class UnavailableShardsException
- extends ElasticSearchException
- See Also:
- Serialized Form
Method Summary |
RestStatus |
status()
Returns the rest status code associated with this exception. |
Methods inherited from class java.lang.Throwable |
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString |
UnavailableShardsException
public UnavailableShardsException(@Nullable
ShardId shardId,
String message)
status
public RestStatus status()
- Description copied from class:
ElasticSearchException
- Returns the rest status code associated with this exception.
- Overrides:
status
in class ElasticSearchException
Copyright © 2009-2012. All Rights Reserved.