org.elasticsearch.cluster.block
Class ClusterBlockException

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.cluster.block.ClusterBlockException
All Implemented Interfaces:
Serializable

public class ClusterBlockException
extends ElasticSearchException

See Also:
Serialized Form

Constructor Summary
ClusterBlockException(com.google.common.collect.ImmutableSet<ClusterBlock> blocks)
           
 
Method Summary
 com.google.common.collect.ImmutableSet<ClusterBlock> blocks()
           
 boolean retryable()
           
 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

ClusterBlockException

public ClusterBlockException(com.google.common.collect.ImmutableSet<ClusterBlock> blocks)
Method Detail

retryable

public boolean retryable()

blocks

public com.google.common.collect.ImmutableSet<ClusterBlock> blocks()

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.