Hi,

I have a session bean exposed as a RESTeasy web service. I am
using @Produces({"application/xml"}) to produce the response. Regardless of
the outcome, I bundled success, failure, or application exception message
into the xml and send back to the client. I know this is not the best way
to handle exception handling. Can some one explain me or provide me a
reference how to handle exceptions using ExceptionMapper interface?

Would be great if I can have a reference to an example code.

Thanks,
Nuwan
------------------------------------------------------------------------------
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:
http://p.sf.net/sfu/appdyn_d2d_jan
_______________________________________________
Resteasy-users mailing list
Resteasy-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/resteasy-users

Reply via email to