ExceptionTool异常处理工具类
程序员文章站
2022-05-24 08:22:29
...
public class ExceptionTool { public static String getStackTrace(Throwable aThrowable) { Writer result = new StringWriter(); PrintWriter printWriter = new PrintWriter(result); aThrowable.printStackTrace(printWriter); return result.toString(); } }
上一篇: xcode中armv6与armv7
下一篇: 京东白条无法激活是什么原因如何解决