## Uses of Class
org.apache.olingo.odata2.api.processor.ODataErrorContext

- Packages that use ODataErrorContext
  Package | Description
  --- | ---
  org.apache.olingo.odata2.api.ep | Entity Provider The org.apache.olingo.odata2.api.ep package contains all classes related and necessary to provide an `EntityProvider`.
  org.apache.olingo.odata2.api.processor | Data Processor A data processor implements all create, read, update and delete (CRUD) methods of an OData service.
  org.apache.olingo.odata2.client.api.ep |
  org.apache.olingo.odata2.client.core.ep |
  org.apache.olingo.odata2.client.core.ep.deserializer |
  org.apache.olingo.odata2.jpa.processor.api.exception | OData JPA Processor API Library - Exceptions There are two main types of exceptions thrown from the library Model Exception Runtime Exception The Model Exception is thrown while processing JPA metamodels and runtime exception is thrown while processing persistence data.
  org.apache.olingo.odata2.ref.processor |

- - ### Uses of ODataErrorContext in org.apache.olingo.odata2.api.ep

    Methods in org.apache.olingo.odata2.api.ep that return ODataErrorContext
    Modifier and Type | Method and Description
    --- | ---
    `static ODataErrorContext` | EntityProvider.`readErrorDocument(InputStream errorDocument, String contentType)` Read (de-serialize) data from error document as `InputStream` and provide according `ODataErrorContext` .
    `ODataErrorContext` | EntityProvider.EntityProviderInterface.`readErrorDocument(InputStream errorDocument, String contentType)` Read (de-serialize) data from error document as `InputStream` and provide according `ODataErrorContext`.

    Methods in org.apache.olingo.odata2.api.ep with parameters of type ODataErrorContext
    Modifier and Type | Method and Description
    --- | ---
    `static ODataResponse` | EntityProvider.`writeErrorDocument(ODataErrorContext context)` Serializes an error message according to the OData standard.
    `ODataResponse` | EntityProvider.EntityProviderInterface.`writeErrorDocument(ODataErrorContext context)` Serializes an error message according to the OData standard.

  - ### Uses of ODataErrorContext in org.apache.olingo.odata2.api.processor

    Methods in org.apache.olingo.odata2.api.processor that return types with arguments of type ODataErrorContext
    Modifier and Type | Method and Description
    --- | ---
    `Collection<ODataErrorContext>` | ODataErrorContext.`getErrorDetails()` Get a collection of detailed errors for a OData inner error to be returned in error response.

    Methods in org.apache.olingo.odata2.api.processor with parameters of type ODataErrorContext
    Modifier and Type | Method and Description
    --- | ---
    `ODataResponse` | ODataErrorCallback.`handleError(ODataErrorContext context)` This method can be used to handle an error differently than the exception mapper would.

    Method parameters in org.apache.olingo.odata2.api.processor with type arguments of type ODataErrorContext
    Modifier and Type | Method and Description
    --- | ---
    `void` | ODataErrorContext.`setErrorDetails(Collection<ODataErrorContext> errorDetails)` Set a collection of detailed errors for a OData inner error to be returned in error response.

  - ### Uses of ODataErrorContext in org.apache.olingo.odata2.client.api.ep

    Methods in org.apache.olingo.odata2.client.api.ep that return ODataErrorContext
    Modifier and Type | Method and Description
    --- | ---
    `ODataErrorContext` | ContentTypeBasedDeserializer.`readErrorDocument(InputStream errorDocument)` Read (de-serialize) data from error document as `InputStream` and provide according `ODataErrorContext`.

  - ### Uses of ODataErrorContext in org.apache.olingo.odata2.client.core.ep

    Methods in org.apache.olingo.odata2.client.core.ep that return ODataErrorContext
    Modifier and Type | Method and Description
    --- | ---
    `ODataErrorContext` | JsonSerializerDeserializer.`readErrorDocument(InputStream errorDocument)`
    `ODataErrorContext` | AtomSerializerDeserializer.`readErrorDocument(InputStream errorDocument)`

  - ### Uses of ODataErrorContext in org.apache.olingo.odata2.client.core.ep.deserializer

    Methods in org.apache.olingo.odata2.client.core.ep.deserializer that return ODataErrorContext
    Modifier and Type | Method and Description
    --- | ---
    `ODataErrorContext` | XmlErrorDocumentDeserializer.`readError(InputStream errorDocument)` Deserialize / read OData error document in ODataErrorContext.
    `ODataErrorContext` | JsonErrorDocumentDeserializer.`readError(InputStream errorDocument)` Deserialize / read OData error document in ODataErrorContext.

  - ### Uses of ODataErrorContext in org.apache.olingo.odata2.jpa.processor.api.exception

    Methods in org.apache.olingo.odata2.jpa.processor.api.exception with parameters of type ODataErrorContext
    Modifier and Type | Method and Description
    --- | ---
    `ODataResponse` | ODataJPAErrorCallback.`handleError(ODataErrorContext context)`

  - ### Uses of ODataErrorContext in org.apache.olingo.odata2.ref.processor

    Methods in org.apache.olingo.odata2.ref.processor with parameters of type ODataErrorContext
    Modifier and Type | Method and Description
    --- | ---
    `ODataResponse` | ScenarioErrorCallback.`handleError(ODataErrorContext context)`

Copyright © 2013-2022 The Apache Software Foundation. All Rights Reserved.