code: public static String exceptionToString(Exception e)
      {
          StringWriter sw = new StringWriter();
          PrintWriter pw = new PrintWriter(sw);
          e.printStackTrace(pw);
          return sw.toString();
      }
docs: 将异常转为字符串
  
  @param e
  @return