@Provider public class JsonMappingExceptionMapper extends Object implements ExceptionMapper<JsonMappingException>
ExceptionMapper to send down a "400 Bad Request"
response in the event that unmappable JSON is received.| Constructor and Description |
|---|
JsonMappingExceptionMapper() |
public Response toResponse(JsonMappingException exception)
toResponse in interface ExceptionMapper<JsonMappingException>