Uploaded image for project: 'Configuration Persistence Service'
  1. Configuration Persistence Service
  2. CPS-41

VSE: Exception handling on REST interface

XMLWordPrintable

    • Icon: Story Story
    • Resolution: Done
    • Icon: Medium Medium
    • None
    • None
    • None

      Use Web Application Framework to handle any unexpected error and return a HTTP 500 response.

      • Any runtime exception should be caught by the REST Controller and it should return a HTTP 500 Response with some details of the error message.
      • 'Expected' exceptions for certain use-cases can still be handled by the relevant REST API method. e.g. A Model or Data Parsing exception could still return a HTTP 200 Response if so required and not be affected by the solution for this user story

            rkashapov rkashapov
            ToineSiebelink Toine Siebelink
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: