Class MissingKeyReferencedAttributeValueExceptionContextPopulator

    • Constructor Detail

      • MissingKeyReferencedAttributeValueExceptionContextPopulator

        public MissingKeyReferencedAttributeValueExceptionContextPopulator()
    • Method Detail

      • populate

        public void populate​(@NotNull
                             @NotNull org.apache.olingo.odata2.api.processor.ODataErrorContext context)
        Description copied from interface: ErrorContextPopulator
        Populates context with values specific for the exception in the context, i.e. ODataErrorContext.getException(). At a minimum, the implementations should set HTTP status code, error code and message, etc in the ODataErrorContext depending on the exception.
        Specified by:
        populate in interface ErrorContextPopulator
        Parameters:
        context - a context to update with the exception specific values.