Class TypeAttributeDescriptorNotFoundExceptionContextPopulator

java.lang.Object
de.hybris.platform.odata2services.odata.errors.TypeAttributeDescriptorNotFoundExceptionContextPopulator
All Implemented Interfaces:
ErrorContextPopulator

@Deprecated(since="2205", forRemoval=true) public class TypeAttributeDescriptorNotFoundExceptionContextPopulator extends Object implements ErrorContextPopulator
Deprecated, for removal: This API element is subject to removal in a future version.
An error context populator for TypeAttributeDescriptorNotFoundException
  • Constructor Summary

    Constructors
    Constructor
    Description
    Deprecated, for removal: This API element is subject to removal in a future version.
     
  • Method Summary

    Modifier and Type
    Method
    Description
    Class<? extends Exception>
    Deprecated, for removal: This API element is subject to removal in a future version.
    Specifies what exception class this ErrorContextPopulator can provide values for.
    void
    populate(@NotNull org.apache.olingo.odata2.api.processor.ODataErrorContext context)
    Deprecated, for removal: This API element is subject to removal in a future version.
    Populates context with values specific for the exception in the context, i.e.

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • TypeAttributeDescriptorNotFoundExceptionContextPopulator

      public TypeAttributeDescriptorNotFoundExceptionContextPopulator()
      Deprecated, for removal: This API element is subject to removal in a future version.
  • Method Details

    • populate

      public void populate(@NotNull @NotNull org.apache.olingo.odata2.api.processor.ODataErrorContext context)
      Deprecated, for removal: This API element is subject to removal in a future version.
      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.
    • getExceptionClass

      public Class<? extends Exception> getExceptionClass()
      Deprecated, for removal: This API element is subject to removal in a future version.
      Description copied from interface: ErrorContextPopulator
      Specifies what exception class this ErrorContextPopulator can provide values for.
      Specified by:
      getExceptionClass in interface ErrorContextPopulator
      Returns:
      the exception class