Class PartitionKeyRangeGoneException

  • All Implemented Interfaces:
    Serializable

    public class PartitionKeyRangeGoneException
    extends com.microsoft.azure.cosmosdb.DocumentClientException
    This 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 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)
      • PartitionKeyRangeGoneException

        public PartitionKeyRangeGoneException​(String message,
                                              Exception innerException,
                                              io.reactivex.netty.protocol.http.client.HttpResponseHeaders headers,
                                              String requestUri)