| 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. | 
| Modifier and Type | Method and Description | 
|---|---|
| ODataError | ODataClientErrorException. getODataError()Gets OData error. | 
| Constructor and Description | 
|---|
| ODataClientErrorException(org.apache.http.StatusLine statusLine,
                         ODataError error)Constructor | 
| ODataClientErrorException(org.apache.http.StatusLine statusLine,
                         ODataError error,
                         InputStream rawResponse)Constructor. | 
| 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. | 
| 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). | 
| Modifier and Type | Class and Description | 
|---|---|
| class  | ODataServerErrorClass to hold all server relevant error information. | 
Copyright © 2013–2023 The Apache Software Foundation. All rights reserved.