Uploaded image for project: 'RESTEasy'
  1. RESTEasy
  2. RESTEASY-2229

Exception mappers not matching because of unwrapped exceptions

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • Major
    • 4.0.0.CR3, 3.7.0.Final
    • None
    • None
    • None

    Description

      When CompletionStage completes exceptionally its exceptions are not wrapped, but when they complete exceptionally due to an exception throw in one of its pipeline callbacks (in thenApply() for example) then, CompletionStage wraps the exception before passing it to us. We should unwrap it, otherwise our exception mappers will never match and we get internal errors instead of the expected answers.

      Attachments

        Activity

          People

            rhn-support-asoldano Alessio Soldano
            separdau@redhat.com Stephane Epardaud
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: