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

Exceptions in void methods are not passed to registered ClientErrorInterceptor

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • Blocker
    • 2.2.RC1
    • 2.2-beta-1
    • jaxrs
    • None

    Description

      After checking status of request to void method resteasy should pass it to registered ClientErrorInterceptor and not throw Bad request.

      This issue related to RESTEASY-435
      DefaultEntityExtractorFactory.java line 49 should be changed to

            try
            {
               context.getClientResponse().checkFailureStatus();
            }
            catch (RuntimeException e)
            {
               context.getErrorHandler().clientErrorHandling(response, e);
            }
      

      Attachments

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: