org.elasticsearch.action
Class UnavailableShardsException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by java.lang.RuntimeException
              extended by org.elasticsearch.ElasticSearchException
                  extended by org.elasticsearch.action.UnavailableShardsException
All Implemented Interfaces:
Serializable

public class UnavailableShardsException
extends ElasticSearchException

See Also:
Serialized Form

Constructor Summary
UnavailableShardsException(ShardId shardId, String message)
           
 
Method Summary
 RestStatus status()
          Returns the rest status code associated with this exception.
 
Methods inherited from class org.elasticsearch.ElasticSearchException
contains, getDetailedMessage, getMostSpecificCause, getRootCause, unwrapCause
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

UnavailableShardsException

public UnavailableShardsException(@Nullable
                                  ShardId shardId,
                                  String message)
Method Detail

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.