users@jersey.java.net

[Jersey] Re: How to catch MessageBodyProviderNotFoundException.

From: <marceloverdijk_at_gmail.com>
Date: Fri, 23 Aug 2013 11:37:14 +0000 (UTC)

I tend to agree that a missing message body provider is a fault of the
application developer.

What I'm basically want to do - also in case of a developer error -
catch all exceptions and return a 200. The 200 response will wrap the
actual exception being thrown containing the message.
The reason for this is some browsers/clients (e.g. Flash) will not
process the obdy of non-200 results.