dev@jersey.java.net

Re: WebApplicationException alternative suggestion

From: Adam Walczak <ja_at_adamwalczak.info>
Date: Thu, 25 Nov 2010 18:38:40 +0100

> So you are suggesting the exception class should also be annotated with JAXB
> annotations?

I think that there should be a default set of rules on serializing
exceptions to xml/json which can be overwritten by using JAXB. But
JAXB it self is not mandatory in this solution.

> In general yes, but i think it would be useful to merge where appropriate
> Alexandru's ideas.

Ok. I'll email Alexandru if he could give me some code sample of his solution.

-- 
Adam Walczak
www.adamwalczak.info
+48 604 188 992