Class InternalServerErrorException

  • All Implemented Interfaces:
    Serializable

    public class InternalServerErrorException
    extends CosmosClientException
    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

      • InternalServerErrorException

        public InternalServerErrorException​(CosmosError cosmosError,
                                            long lsn,
                                            String partitionKeyRangeId,
                                            Map<String,​String> responseHeaders)
      • InternalServerErrorException

        public InternalServerErrorException​(String message)
      • InternalServerErrorException

        public InternalServerErrorException​(String message,
                                            com.azure.data.cosmos.internal.http.HttpHeaders headers,
                                            URI requestUri)