标签:
看到生产上的代码片段:
try {
Thread.sleep(10);
XXXX
} catch (InterruptedException e) {
LogCore.core.error(ExceptionUtils.getStackTrace(e));
}为什么不直接用
try {
Thread.sleep(10);
node.pulse();
} catch (InterruptedException e) {
LogCore.core.error("",e);
} try {
Thread.sleep(10);
node.pulse();
} catch (InterruptedException e) {
LogCore.core.error(e.toString());
}关于xceptionUtils.getStackTrace(e)的疑问
标签:
原文地址:http://blog.csdn.net/kkgbn/article/details/44964797