Class PartitionKeyRangeGoneException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- com.microsoft.azure.cosmosdb.DocumentClientException
-
- com.microsoft.azure.cosmosdb.internal.directconnectivity.PartitionKeyRangeGoneException
-
- All Implemented Interfaces:
Serializable
public class PartitionKeyRangeGoneException extends com.microsoft.azure.cosmosdb.DocumentClientExceptionThis exception is thrown when DocumentServiceRequest contains x-ms-documentdb-partitionkeyrangeid header and such range id doesn't exist.No retries should be made in this case, as either split or merge might have happened and query/readfeed must take appropriate actions.
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description PartitionKeyRangeGoneException()PartitionKeyRangeGoneException(com.microsoft.azure.cosmosdb.Error error, long lsn, String partitionKeyRangeId, Map<String,String> responseHeaders)PartitionKeyRangeGoneException(Exception innerException)PartitionKeyRangeGoneException(String message)PartitionKeyRangeGoneException(String message, io.reactivex.netty.protocol.http.client.HttpResponseHeaders headers, String requestUri)PartitionKeyRangeGoneException(String message, Exception innerException)PartitionKeyRangeGoneException(String message, Exception innerException, io.reactivex.netty.protocol.http.client.HttpResponseHeaders headers, String requestUri)
-
Method Summary
-
Methods inherited from class com.microsoft.azure.cosmosdb.DocumentClientException
getActivityId, getClientSideRequestStatistics, getError, getLsn, getMessage, getPartitionKeyRangeId, getRequestHeaders, getRequestUri, getResponseHeaders, getRetryAfterInMilliseconds, getStatusCode, getSubStatusCode, setClientSideRequestStatistics, setRequestUri, toString
-
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace
-
-
-
-
Constructor Detail
-
PartitionKeyRangeGoneException
public PartitionKeyRangeGoneException()
-
PartitionKeyRangeGoneException
public PartitionKeyRangeGoneException(com.microsoft.azure.cosmosdb.Error error, long lsn, String partitionKeyRangeId, Map<String,String> responseHeaders)
-
PartitionKeyRangeGoneException
public PartitionKeyRangeGoneException(String message)
-
PartitionKeyRangeGoneException
public PartitionKeyRangeGoneException(String message, Exception innerException)
-
PartitionKeyRangeGoneException
public PartitionKeyRangeGoneException(Exception innerException)
-
PartitionKeyRangeGoneException
public PartitionKeyRangeGoneException(String message, io.reactivex.netty.protocol.http.client.HttpResponseHeaders headers, String requestUri)
-
-