org.elasticsearch.index.engine
Class DocumentAlreadyExistsException

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.engine.EngineException
                              extended by org.elasticsearch.index.engine.DocumentAlreadyExistsException
All Implemented Interfaces:
Serializable

public class DocumentAlreadyExistsException
extends EngineException

See Also:
Serialized Form

Constructor Summary
DocumentAlreadyExistsException(ShardId shardId, String type, String id)
           
 
Method Summary
 RestStatus status()
          Returns the rest status code associated with this exception.
 
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, 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

DocumentAlreadyExistsException

public DocumentAlreadyExistsException(ShardId shardId,
                                      String type,
                                      String id)
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.