Uploaded image for project: 'Quarkus'
  1. Quarkus
  2. QUARKUS-6619

Fix ResponseExceptionMapper example in rest-client.adoc

XMLWordPrintable

      This is a documentation change. I believe we are supposed to _return_ the exception, not throw it. As throwing circumvents whatever may happen after `toThrowable` returns to the framework.

      <!--
      If this is your first time contributing to the project,
      please consider reviewing https://github.com/quarkusio/quarkus/blob/main/CONTRIBUTING.md
      -->

      <!--
      Please include in the description above the list of GitHub issues this Pull Request addresses in the following format:

      • Fixes #xxxxx
      • Fixes #yyyyy
      • Fixes #zzzzz
      • ....

      See https://docs.github.com/en/issues/tracking-your-work-with-issues/using-issues/linking-a-pull-request-to-an-issue
      for more information about linking issues to the Pull Request.
      -->

              paul.robinson@redhat.com Paul Robinson
              blafond Barry LaFond
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: