users@jersey.java.net

Catching and representing exceptions

From: tofferliu <toffer_liu_at_yahoo.com>
Date: Wed, 1 Sep 2010 14:00:55 -0700 (PDT)

Hi,

Presently, I have a webservice filter which catches all the exceptions and
reformats them into xml or json. Right now the representation it presents is
inconsitent with what the representation jersey decides to present for the
other request. How do I go about getting what representation jersey decides
to present the user (xml, json, etc). Also is this the right way of doing
things?

-Francis
-- 
View this message in context: http://jersey.576304.n2.nabble.com/Catching-and-representing-exceptions-tp5488796p5488796.html
Sent from the Jersey mailing list archive at Nabble.com.