Thanks for the reply. I like your solution but what I need is a really
simple catch-all to catch all runtime exceptions so that a meaningful XML is
returned instead of the default HTML error page. I think I will have an
ExceptionMapper that maps to RuntimeException.