ExceptionMapper to send down a "400 Bad Request"
response in the event that unmappable JSON is received.
Note that javax. annotation was include up to
Jackson 2.7, but removed from 2.8 (as per [jaxrs-providers#22]
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public Response | toResponse(JsonMappingException
the exception to map to a response. exception)Implements javax. Map an exception to a |
| JsonMappingExceptionMapper | back to summary |
|---|---|
| public JsonMappingExceptionMapper() | |
| toResponse | back to summary |
|---|---|
| public Response toResponse(JsonMappingException exception) Implements javax. Doc from javax. Map an exception to a
| |