org.elasticsearch.cluster.block
Class ClusterBlockException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
org.elasticsearch.ElasticSearchException
org.elasticsearch.cluster.block.ClusterBlockException
- All Implemented Interfaces:
- Serializable
public class ClusterBlockException
- extends ElasticSearchException
- See Also:
- Serialized Form
Methods inherited from class java.lang.Throwable |
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString |
ClusterBlockException
public ClusterBlockException(com.google.common.collect.ImmutableSet<ClusterBlock> blocks)
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.