users@jersey.java.net

exception mapping

From: Ross Mcdonald <rossajmcd_at_yahoo.co.uk>
Date: Fri, 26 Jun 2009 21:08:42 +0100

Hi.

I have created a custom exception, response and mapper, attempting to
map the two together.
I hoped to see my resource method throw an exception of the newly
specified type, and return my new custom response.
Instead I see a servlet container html based error 500. I am using
maven and the jetty plugin to run my app.
Is there any config I should put in my web.xml to wire this up ?

Thanks in advance for your help,

regards,

  -- Ross