XMLWordPrintableJSON

Details

    • Sub-task
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 2.1
    • 2.1
    • JAX-RS
    • None

    Description

      Section 2.4.3

      An implementation MUST catch WebApplicationException and map it to a response. If the response
      property of the exception is not null then it MUST be used to create the response. If the response
      property of the exception is null an implementation MUST generate a server error response.

      An implementation MUST allow other runtime exceptions to propagate to the underlying container. This
      allows existing container facilities (e.g. a Servlet filter) to be used to handle the error if desired.

      Editors Note 2.2 What to do about checked exceptions ? If we allow them on resource methods then do
      we need some standard runtime exception that can be used to wrap the checked exception so it can be
      propagated to the container in a standard way ?

      Attachments

        1. cxf-1012.patch
          51 kB
          Sergey Beryozkin

        Activity

          People

            sergey_beryozkin Sergey Beryozkin
            jliu Jervis Liu
            Votes:
            1 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: