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:
java.io.Serializable
- Direct Known Subclasses:
MissingKeyNavigationPropertyException,MissingKeyPropertyException,MissingNavigationPropertyException,MissingPropertyException
public class MissingDataException extends OData2ServicesException
Exception to thrown when a required property or navigationProperty is not supplied in the request. Will result in HttpStatus 400- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description MissingDataException(java.lang.String message, java.lang.String errorCode, java.lang.String propertyName, java.lang.String entityType)Constructor to create MissingDataException
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.StringgetEntityType()java.lang.StringgetPropertyName()-
Methods inherited from class org.apache.olingo.odata2.api.exception.ODataRuntimeApplicationException
getCode, getHttpStatus, getLocale
-
-
-
-
Constructor Detail
-
MissingDataException
public MissingDataException(java.lang.String message, java.lang.String errorCode, java.lang.String propertyName, java.lang.String entityType)Constructor to create MissingDataException- Parameters:
message- error messageerrorCode- error codepropertyName- name of the property or navigationPropertyentityType-EdmEntityTypename
-
-