Java trycatch 异常信息原始数据存到数据库中
异常处理原始数据保存到数据库,或者发送邮件
·
try catch异常信息,像原始数据,精确到某一行代码报错
try { } catch (Exception e) { String fullStackTrace = org.apache.commons.lang.exception.ExceptionUtils.getFullStackTrace(e); }
String fullStackTrace = org.apache.commons.lang.exception.ExceptionUtils.getFullStackTrace(e);
log.error(fullStackTrace )
更多推荐
所有评论(0)