What is the best way to avoid jersey returning a HTML response with the
error when an unexpected exception happens (i.e NullPointerException) ?
I tried creating a ExceptionMapper for Exception and it works but it means
that I loose the default exception mapping for
javax.ws.rs.WebApplicationException exceptions that is also quite bad.
What are the best practices here?
Thx a lot