users@jersey.java.net

[Jersey] Re: returning default jersey responses as json

From: Jennifer Sears <jsears_at_galtech.net>
Date: Wed, 18 Nov 2015 14:41:05 -0500

Have you tried using a custom ObjectMapper? It sounds like you need to map
your exceptions like described at the link below.

http://www.codingpedia.org/ama/error-handling-in-rest-api-with-jersey/

Cheers,
J