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

ExceptionMapper not called when thrown from PreProcessInterceptor

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major Major
    • 2.0.1.GA
    • None
    • None
    • None

      from bryan Kearney:

      The pre processor throws an exception in the preProcess method whose class is candlepin.UnauthorizedException which inherits from candlepin.CandlepinException which inherits from lang.RuntimeException.

      Our exception mapper implements ExceptionMapper<RuntimeException> (lang.RuntimeException).

      Under 2.0 Beta 4, the mapper is called with an instance of candlepin.UnauthorizedException as I would expect. In the GA, the mapper is not called.

      – bk

              patriot1burke@gmail.com Bill Burke (Inactive)
              patriot1burke@gmail.com Bill Burke (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

                Created:
                Updated:
                Resolved: