摘要: 处理InterruptedException 这个故事可能很熟悉:你正在写一个测试程序,你需要暂停某个线程一段时间,所以你调用 Thread.sleep()。然后编译器或 IDE 就会抱怨说 InterruptedException 没有抛出声明或捕获。什么是 InterruptedExceptio 阅读全文
posted @ 2018-12-22 21:50 java架构开发 阅读(2286) 评论(0) 推荐(0) 编辑