users@jersey.java.net

Exception Handling

From: Travis Reeder <treeder_at_gmail.com>
Date: Fri, 21 Mar 2008 18:05:25 -0700

This is a feature suggestion, but it would be nice if Jersey would return
exceptions in the format specified by ProduceMime, right now it appears to
return an html response if you have @ProduceMime("application/xml"), but it
would be nice to have a standard exception xml format like:

<exception>
  <message>...</message>
  <stackTrack>...</stackTrace>
....
</exception>

Travis