Class MissingDataException
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
- All Implemented Interfaces:
Serializable
- Direct Known Subclasses:
MissingKeyNavigationPropertyException,MissingKeyPropertyException,MissingNavigationPropertyException,MissingPropertyException
Exception to thrown when a required property or navigationProperty is not supplied in the request.
Will result in HttpStatus 400
- See Also:
-
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedMissingDataException(String message, String errorCode, String propertyName, String entityType) Constructor to create MissingDataException -
Method Summary
Methods 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
-
MissingDataException
protected MissingDataException(String message, String errorCode, String propertyName, String entityType) Constructor to create MissingDataException- Parameters:
message- error messageerrorCode- error codepropertyName- name of the property or navigationPropertyentityType-EdmEntityTypename
-
-
Method Details
-
getEntityType
-
getPropertyName
-