users@jersey.java.net

Response Filter and Exceptions

From: Craig Iverson <civy4fun_at_gmail.com>
Date: Tue, 7 Oct 2008 15:29:34 -0700

I have a filter that implements both ContainerRequestFilter and
ContainerResponseFilter. I was hoping when an Exception was thrown
it would still go through the response filter. This does not seem to
be the case. I have some generic logic I want to apply to a response
no matter what happens. This logic uses data from the request and
sets things in the responses. Any ideas how to have this generic
logic applied to the Exception case?

Thanks,
Craig Iverson