Uploaded image for project: 'Olingo'
  1. Olingo
  2. OLINGO-1574

ODataClientErrorException & ODataServerErrorException doesn't have the response body

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Fixed
    • (Java) V4 4.9.0
    • None
    • odata4-client
    • None

    Description

      When a OData backend service throws >= 400 error code
      ODataClientErrorException is constructed or if the service throws >= 500 HTTP status code Olingo constructs an ODataServerErrorException.

      This exception class doesn't hold the actual response returned by the backend system. There are cases where the response from the backend system will be useful to determine the actual problem which caused failure HTTP status code. 

       

      Hence enhancements should be made to the exception class in a way to retrieve the actual response of the backend service. 

      Attachments

        Activity

          People

            mirbo mibo
            varun_ramesh varun_ramesh
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Time Tracking

                Estimated:
                Original Estimate - Not Specified
                Not Specified
                Remaining:
                Remaining Estimate - 0h
                0h
                Logged:
                Time Spent - 20m
                20m