Class CosmosPartitionKeyException

  • All Implemented Interfaces:
    java.io.Serializable

    public class CosmosPartitionKeyException
    extends com.azure.cosmos.CosmosException
    Indicates unable to extract PartitionKey for a Cosmos entity.
    Author:
    Daniel Sagenschneider
    See Also:
    Serialized Form
    • Constructor Summary

      Constructors 
      Modifier Constructor Description
      protected CosmosPartitionKeyException​(java.lang.Class<?> entityType, java.lang.Throwable cause)
      Instantiate.
    • Method Summary

      • Methods inherited from class com.azure.cosmos.CosmosException

        getActivityId, getDiagnostics, getMessage, getRequestCharge, getResponseHeaders, getRetryAfterDuration, getStatusCode, getSubStatusCode, toString
      • Methods inherited from class java.lang.Throwable

        addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
    • Constructor Detail

      • CosmosPartitionKeyException

        protected CosmosPartitionKeyException​(java.lang.Class<?> entityType,
                                              java.lang.Throwable cause)
        Instantiate.
        Parameters:
        entityType - Type of entity.
        cause - Cause.