Package com.azure.data.cosmos
Class PreconditionFailedException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- com.azure.data.cosmos.CosmosClientException
-
- com.azure.data.cosmos.PreconditionFailedException
-
- All Implemented Interfaces:
Serializable
public class PreconditionFailedException extends CosmosClientException
While this class is public, but it is not part of our published public APIs. This is meant to be internally used only by our sdk.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description PreconditionFailedException(CosmosError cosmosError, long lsn, String partitionKeyRangeId, Map<String,String> responseHeaders)
PreconditionFailedException(String message, com.azure.data.cosmos.internal.http.HttpHeaders headers, String requestUriString)
-
Method Summary
-
Methods inherited from class com.azure.data.cosmos.CosmosClientException
cosmosResponseDiagnostics, error, getMessage, message, responseHeaders, retryAfterInMilliseconds, statusCode, subStatusCode, toString
-
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace
-
-
-
-
Constructor Detail
-
PreconditionFailedException
public PreconditionFailedException(CosmosError cosmosError, long lsn, String partitionKeyRangeId, Map<String,String> responseHeaders)
-
-