jax-rs-spec
  1. jax-rs-spec
  2. JAX_RS_SPEC-137

Exception Processing in Filter/Handler Chains

    Details

    • Type: Task Task
    • Status: Resolved
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 2.0
    • Fix Version/s: 2.0
    • Component/s: None
    • Labels:
      None

      Description

      The spec is currently mute about the interaction between filter/handler chains and exception handling (and exception handlers). In general, an exception handled by a mapper is converted in to a Response that is processed as if it was returned by a resource method.

      What if the exception is thrown while processing the response? Should the new response produced by a mapper (when available) be processed by the entire response chain again? What if this leads the app into a infinite loop?

        Activity

        Hide
        Santiago Pericas-Geertsen added a comment -

        Exception processing and mapping clarified in spec.

        Show
        Santiago Pericas-Geertsen added a comment - Exception processing and mapping clarified in spec.

          People

          • Assignee:
            Santiago Pericas-Geertsen
            Reporter:
            Santiago Pericas-Geertsen
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Due:
              Created:
              Updated:
              Resolved: