code: protected void returnJsonSystemError(HttpServletRequest request, HttpServletResponse response,
              ResultCode resultCode) throws IOException {
          Map<String, Object> errors = new HashMap<String, Object>();
          errors.put(WebResponseConstant.MESSAGE_GLOBAL, resultCode.getMessage().getMessage());
          JsonObject<?> json = JsonObject.create();
          json.setStatus(resultCode.getCode());
          json.setStatusInfo(errors);
          response.setContentType("application/json; charset=UTF-8");
          response.setCharacterEncoding("UTF-8");
          response.getWriter().write(JsonUtils.toJson(json));
      }
docs: 当拦截器内发生错误时，返回json格式的错误信息
  
  @param request
  请求request
  @param response
  返回response
  @param message
  错误消息
  @throws IOException