public class VersionConflictEngineException extends EngineException
ElasticsearchException.WithRestHeaders
Constructor and Description |
---|
VersionConflictEngineException(ShardId shardId,
String type,
String id,
long current,
long provided) |
Modifier and Type | Method and Description |
---|---|
long |
getCurrentVersion() |
long |
getProvidedVersion() |
RestStatus |
status()
Returns the rest status code associated with this exception.
|
shardId
index
contains, getDetailedMessage, getMostSpecificCause, getRootCause, unwrapCause
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
public RestStatus status()
ElasticsearchException
status
in class ElasticsearchException
public long getCurrentVersion()
public long getProvidedVersion()
Copyright © 2009–2015. All rights reserved.