[ 
https://issues.apache.org/jira/browse/OLINGO-874?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Ramesh Reddy resolved OLINGO-874.
---------------------------------
    Resolution: Fixed

- Removed the extra parsing needed by previous code to determine the content 
type
- Fixed the bug, where the ODataApplicationException was not converted property 
in the ErrorHandler, thus loosing the status code set by the service
- Provided hook back to the ServiceHandler to do the final response writing of 
the exception such, that the service developer has single place for possible 
logging or any modifications before the error response is written out.

> Odata4HttpHandler does not have proper error handling
> -----------------------------------------------------
>
>                 Key: OLINGO-874
>                 URL: https://issues.apache.org/jira/browse/OLINGO-874
>             Project: Olingo
>          Issue Type: Improvement
>          Components: odata4-server
>    Affects Versions: (Java) V4 4.0.0-beta-01
>            Reporter: Ramesh Reddy
>            Assignee: Ramesh Reddy
>             Fix For: (Java) V4 4.2.0
>
>
> The OData4HttpHandler does not provide a way to override or otherwise 
> intercept exception handling like the base ODataHttpHandlerImpl does where 
> you can just have the TeiidHandler extend DefaultHandler and override 
> processError



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to