Class MissingKeyNavigationPropertyException
- 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.MissingKeyNavigationPropertyException
-
- All Implemented Interfaces:
java.io.Serializable
public class MissingKeyNavigationPropertyException extends MissingDataException
Exception to thrown when a key navigationProperty element for the entityType is not supplied in the request. Will result in HttpStatus 400- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description MissingKeyNavigationPropertyException(java.lang.String entityType, java.lang.String propertyName)Constructor to create MissingKeyNavigationPropertyException
-
Method Summary
-
Methods inherited from class de.hybris.platform.odata2services.odata.persistence.MissingDataException
getEntityType, getPropertyName
-
Methods inherited from class org.apache.olingo.odata2.api.exception.ODataRuntimeApplicationException
getCode, getHttpStatus, getLocale
-
-
-
-
Constructor Detail
-
MissingKeyNavigationPropertyException
public MissingKeyNavigationPropertyException(java.lang.String entityType, java.lang.String propertyName)Constructor to create MissingKeyNavigationPropertyException- Parameters:
entityType-EdmEntityTypenamepropertyName- the name of the property
-
-