Class MissingNavigationPropertyException
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.MissingNavigationPropertyException
- All Implemented Interfaces:
Serializable
Exception to thrown when a required navigationProperty does not already exist.
Will result in HttpStatus 400
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionMissingNavigationPropertyException(String entityType) Constructor to create MissingNavigationPropertyExceptionMissingNavigationPropertyException(String entityType, String propertyName) Constructor to create MissingNavigationPropertyException -
Method Summary
Methods inherited from class de.hybris.platform.odata2services.odata.persistence.MissingDataException
getEntityType, getPropertyNameMethods inherited from class org.apache.olingo.odata2.api.exception.ODataRuntimeApplicationException
getCode, getHttpStatus, getLocaleMethods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
MissingNavigationPropertyException
Constructor to create MissingNavigationPropertyException- Parameters:
entityType- entity typepropertyName- the name of the property
-
MissingNavigationPropertyException
Constructor to create MissingNavigationPropertyException- Parameters:
entityType- entity type
-