users@jersey.java.net

Jersey and runtime exception handling

From: DaHoopster <hwang_at_myvest.com>
Date: Tue, 31 Aug 2010 16:11:48 -0700 (PDT)

I am developing web services using jersey. I am wondering if there is an
exception interception mechanism that can catch all the runtime exceptions
so that I can customize what will be returned. In my case, I would like to
return XML that represents the exception/error.

I could do a try catch block for each service I will write, but it seems
very tedious...

Many thanks...
-- 
View this message in context: http://jersey.576304.n2.nabble.com/Jersey-and-runtime-exception-handling-tp5484867p5484867.html
Sent from the Jersey mailing list archive at Nabble.com.