@ExceptionHandler({MalformedJsonException.class})
  @ResponseBody
  @ResponseStatus(HttpStatus.BAD_REQUEST)
  public String handleException(final RuntimeException e) {
    return convertErrorAsJson(e.getMessage());
  }
Handles MalformedJsonFoundException, occurring when REST service encounters incorrect or
malformed JSON document
<p>

@param e the RuntimeException thrown when malformed JSON is encounterd.
@return the String message from the RuntimeException.
geode-web-api/src/main/java/org/apache/geode/rest/internal/web/controllers/BaseControllerAdvice.java