Fork me on GitHub
摘要: 起因 今天在写东西的时候,用到了多线程。遇到了个问题: 子线程的异常,在父线程中无法捕获。 解决 问题代码 问题代码示例代码如下: 运行输出结果如下: 解决办法 通过查看资料:http://stackoverflow.com/questions/2829329/catch a threads exc 阅读全文
posted @ 2017-03-31 21:24 削微寒 阅读(12436) 评论(4) 推荐(6)