ExceptionMapper to send down a "400 Bad Request"
in the event unparsable JSON is received.
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public Response | toResponse(JsonParseException
the exception to map to a response. exception)Implements jakarta. Map an exception to a |
| JsonParseExceptionMapper | back to summary |
|---|---|
| public JsonParseExceptionMapper() | |
| toResponse | back to summary |
|---|---|
| public Response toResponse(JsonParseException exception) Implements jakarta. Doc from jakarta. Map an exception to a
| |