标签:
try {
... ...
} catch (Exception e) {
//e.printStackTrace();
StringWriter sw = new StringWriter();
PrintWriter pw = new PrintWriter(sw);
e.printStackTrace(pw);
String strStackTrace = sw.toString();
}
标签:
原文地址:http://www.cnblogs.com/codeskilla/p/4939391.html