users@jax-rs-spec.java.net

[jax-rs-spec users] [jsr339-experts] Need clarification on Section 6.7

From: Bill Burke <bburke_at_redhat.com>
Date: Wed, 30 Jan 2013 10:29:04 -0500

The section on filters and exception handling is unclear.

if an exception is thrown from a resource method:

1. An exception mapper is found
2. bound and global filters are executed on the response

If an exception is thrown from a request filter:

1. An exception mapper is found and executed
2. response filters are executed. BOund response filters only executed
if this is not prematch

If an exception is thrown from a response filter:

1. An exception maper is found and executed
2. ??? I assume no response filters are then executed?
-- 
Bill Burke
JBoss, a division of Red Hat
http://bill.burkecentral.com