Class MissingKeyPropertyException

java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
org.apache.olingo.odata2.api.exception.ODataRuntimeApplicationException
de.hybris.platform.odata2services.odata.OData2ServicesException
de.hybris.platform.odata2services.odata.persistence.MissingDataException
de.hybris.platform.odata2services.odata.persistence.exception.MissingKeyPropertyException
All Implemented Interfaces:
Serializable

public class MissingKeyPropertyException extends MissingDataException
Exception to thrown when a key property element for the entityType is not supplied in the request. Will result in HttpStatus 400
See Also:
  • Constructor Details

    • MissingKeyPropertyException

      public MissingKeyPropertyException(String entityType, String propertyName)
      Constructor to create MissingKeyPropertyException
      Parameters:
      entityType - entity type
      propertyName - the name of the property