public class PartitionKeyRangeGoneException extends CosmosClientException
No retries should be made in this case, as either split or merge might have happened and query/readfeed must take appropriate actions.
Constructor and Description |
---|
PartitionKeyRangeGoneException() |
PartitionKeyRangeGoneException(CosmosError cosmosError,
long lsn,
String partitionKeyRangeId,
Map<String,String> responseHeaders) |
PartitionKeyRangeGoneException(String message) |
PartitionKeyRangeGoneException(String message,
com.azure.cosmos.implementation.http.HttpHeaders headers,
String requestUriString) |
getActivityId, getCosmosResponseDiagnostics, getError, getMessage, getResponseHeaders, getRetryAfterInMilliseconds, getStatusCode, getSubStatusCode, setResourceAddress, toString
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace
public PartitionKeyRangeGoneException()
public PartitionKeyRangeGoneException(CosmosError cosmosError, long lsn, String partitionKeyRangeId, Map<String,String> responseHeaders)
public PartitionKeyRangeGoneException(String message)
Copyright © 2020 Microsoft Corporation. All rights reserved.