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

RESTEasy Reactive Client: propagate declared exceptions

XMLWordPrintable

      RESTEasy Reactive Client generates a `$$CDIWrapper` class for each MP RestClient interface, which is then discovered by ArC. The generated classes however used to not declare any exceptions on methods, even if the interface did declare some. This is wrong at least in case the bean is intercepted (for example using MP Fault Tolerance), because undeclared checked exceptions are wrapped into `ArcUndeclaredThrowableException` by interception subclasses. This commit fixes that by propagating all exception types from the interface methods to the `$$CDIWrapper` methods.

      Fixes #48286

              Unassigned Unassigned
              blafond Barry LaFond
              Jose Carranza Jose Carranza
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated:
                Resolved: