org.elasticsearch.index.shard
Class IllegalIndexShardStateException

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.index.IndexException
                      extended by org.elasticsearch.index.shard.IndexShardException
                          extended by org.elasticsearch.index.shard.IllegalIndexShardStateException
All Implemented Interfaces:
Serializable
Direct Known Subclasses:
IndexShardClosedException, IndexShardNotRecoveringException, IndexShardNotStartedException, IndexShardRecoveringException, IndexShardRelocatedException, IndexShardStartedException

public class IllegalIndexShardStateException
extends IndexShardException

See Also:
Serialized Form

Constructor Summary
IllegalIndexShardStateException(ShardId shardId, IndexShardState currentState, String msg)
           
IllegalIndexShardStateException(ShardId shardId, IndexShardState currentState, String msg, Throwable ex)
           
 
Method Summary
 IndexShardState currentState()
           
 
Methods inherited from class org.elasticsearch.index.shard.IndexShardException
shardId
 
Methods inherited from class org.elasticsearch.index.IndexException
index
 
Methods inherited from class org.elasticsearch.ElasticSearchException
contains, getDetailedMessage, getMostSpecificCause, getRootCause, status, 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

IllegalIndexShardStateException

public IllegalIndexShardStateException(ShardId shardId,
                                       IndexShardState currentState,
                                       String msg)

IllegalIndexShardStateException

public IllegalIndexShardStateException(ShardId shardId,
                                       IndexShardState currentState,
                                       String msg,
                                       Throwable ex)
Method Detail

currentState

public IndexShardState currentState()


Copyright © 2009-2012. All Rights Reserved.