## Uses of Class
org.apache.olingo.commons.api.ex.ODataError

- Packages that use ODataError
  Package | Description
  --- | ---
  org.apache.olingo.client.api.communication |
  org.apache.olingo.client.api.serialization |
  org.apache.olingo.commons.api.ex | Contains all OData errors and exception-related classes.
  org.apache.olingo.server.api | Olingo Server API The OData Library is a protocol implementation of the OData V4.0 standard.

- - ### Uses of ODataError in org.apache.olingo.client.api.communication

    Methods in org.apache.olingo.client.api.communication that return ODataError
    Modifier and Type | Method and Description
    --- | ---
    `ODataError` | ODataClientErrorException.`getODataError()` Gets OData error.

    Constructors in org.apache.olingo.client.api.communication with parameters of type ODataError
    Constructor and Description
    `ODataClientErrorException(org.apache.http.StatusLine statusLine, ODataError error)` Constructor.

  - ### Uses of ODataError in org.apache.olingo.client.api.serialization

    Methods in org.apache.olingo.client.api.serialization that return ODataError
    Modifier and Type | Method and Description
    --- | ---
    `ODataError` | ODataReader.`readError(InputStream inputStream, ContentType contentType)` Parses a stream into an OData error.
    `ODataError` | ODataDeserializer.`toError(InputStream input)` Gets the ODataError object represented by the given InputStream.

  - ### Uses of ODataError in org.apache.olingo.commons.api.ex

    Methods in org.apache.olingo.commons.api.ex that return ODataError
    Modifier and Type | Method and Description
    --- | ---
    `ODataError` | ODataError.`setAdditionalProperties(Map<String,Object> additionalProperties)` Sets server defined additional properties
    `ODataError` | ODataError.`setCode(String code)` The value for the code name/value pair is a language-independent string.
    `ODataError` | ODataError.`setDetails(List<ODataErrorDetail> details)` Sets error details.
    `ODataError` | ODataError.`setInnerError(Map<String,String> innerError)` Sets server defined key-value pairs for debug environment only.
    `ODataError` | ODataError.`setMessage(String message)` The value for the message name/value pair MUST be a human-readable, language-dependent representation of the error.
    `ODataError` | ODataError.`setTarget(String target)` The value for the target name/value pair is the target of the particular error (for example, the name of the property in error).

  - ### Uses of ODataError in org.apache.olingo.server.api

    Subclasses of ODataError in org.apache.olingo.server.api
    Modifier and Type | Class and Description
    --- | ---
    `class` | `ODataServerError` Class to hold all server relevant error information.

Copyright © 2013–2022 The Apache Software Foundation. All rights reserved.