Package net.officefloor.nosql.cosmosdb
Class CosmosPartitionKeyException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
com.azure.core.exception.AzureException
com.azure.cosmos.CosmosException
net.officefloor.nosql.cosmosdb.CosmosPartitionKeyException
- All Implemented Interfaces:
Serializable
public class CosmosPartitionKeyException
extends com.azure.cosmos.CosmosException
Indicates unable to extract
PartitionKey for a Cosmos entity.- Author:
- Daniel Sagenschneider
- See Also:
-
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedCosmosPartitionKeyException(Class<?> entityType, Throwable cause) Instantiate. -
Method Summary
Methods inherited from class com.azure.cosmos.CosmosException
getActivityId, getDiagnostics, getMessage, getRequestCharge, getResponseHeaders, getRetryAfterDuration, getShortMessage, getStatusCode, getSubStatusCode, toStringMethods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace
-
Constructor Details
-
CosmosPartitionKeyException
Instantiate.- Parameters:
entityType- Type of entity.cause- Cause.
-