I have a provider at server to marshall MyException as follows
Response.ok(myExceptionObj, MediaType.APPLICATION_JSON).status(Response.Status.BAD_REQUEST).build();
I would like to know how I can implement ResponseExceptionMapper of CXF so that I can get the exception object back.
I have used ResponseExceptionMapper to do the job for me.