Class MissingKeyException
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.InvalidDataException
de.hybris.platform.odata2services.odata.persistence.exception.MissingKeyException
- All Implemented Interfaces:
Serializable
Exception thrown when the entityType has no valid key defined
Will result in HttpStatus 400
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionMissingKeyException(String entityType) Constructor to create MissingKeyException -
Method Summary
Methods inherited from class de.hybris.platform.odata2services.odata.InvalidDataException
getEntityTypeMethods 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
-
MissingKeyException
Constructor to create MissingKeyException- Parameters:
entityType- entity type
-