@ExceptionHandler(Exception.class) @ResponseStatus(value = HttpStatus.INTERNAL_SERVER_ERROR) @ResponseBody public Map<String, String> handleError(HttpServletRequest request, Exception exception) { return Utils.handleError(exception); }
@ExceptionHandler(Exception.class) @ResponseStatus(value = HttpStatus.INTERNAL_SERVER_ERROR) @ResponseBody public Map<String, String> handleError(HttpServletRequest request, Exception exception) { return Utils.handleError(exception); }