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

Error code improvements

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • (Java) V4 4.5.0
    • (Java) V4 4.5.0
    • odata4-server
    • None

    Description

      The createServerErrorObject(final ODataLibraryException e, final Locale requestedLocale) API takes the parameter ODataLibraryException as parameter. We already know that the SerializerException and DeserializerException should result in 400 bad request. Still in the implementation we just add 500 Internal server error. We can set the status code as 400 when the type of exception is related to serialization or deserialization. 

      Attachments

        Activity

          People

            Unassigned Unassigned
            archanarai Archana Rai
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: