Class VersionConflictEngineException

java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
org.elasticsearch.ElasticsearchException
org.elasticsearch.index.engine.EngineException
org.elasticsearch.index.engine.VersionConflictEngineException
All Implemented Interfaces:
java.io.Serializable, Writeable, org.elasticsearch.common.xcontent.ToXContent, org.elasticsearch.common.xcontent.ToXContentFragment

public class VersionConflictEngineException
extends EngineException
See Also:
Serialized Form
  • Constructor Details

    • VersionConflictEngineException

      public VersionConflictEngineException​(ShardId shardId, Engine.Operation op, long currentVersion, boolean deleted)
    • VersionConflictEngineException

      public VersionConflictEngineException​(ShardId shardId, java.lang.String id, long compareAndWriteSeqNo, long compareAndWriteTerm, long currentSeqNo, long currentTerm)
    • VersionConflictEngineException

      public VersionConflictEngineException​(ShardId shardId, java.lang.String id, java.lang.String explanation)
    • VersionConflictEngineException

      public VersionConflictEngineException​(ShardId shardId, java.lang.String msg, java.lang.Throwable cause, java.lang.Object... params)
    • VersionConflictEngineException

      public VersionConflictEngineException​(StreamInput in) throws java.io.IOException
      Throws:
      java.io.IOException
  • Method Details

    • status

      public RestStatus status()
      Description copied from class: ElasticsearchException
      Returns the rest status code associated with this exception.
      Overrides:
      status in class ElasticsearchException
    • fillInStackTrace

      public java.lang.Throwable fillInStackTrace()
      Overrides:
      fillInStackTrace in class java.lang.Throwable