摘要: 在java多线程程序中,所有线程都不允许抛出未捕获的checked exception(比如sleep时的InterruptedException),也就是说各个线程需要自己把自己的checked exception处理掉。这一点是通过java.lang.Runnable.run()方法声明(因为此 阅读全文
posted @ 2016-09-21 00:19 CSniper 阅读(11705) 评论(0) 推荐(1)