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