try catch放在循环内外的区别

以下2段代码服务器 public void test1() { while(true) { try { Thread.sleep(30*60*1000); } catch (InterruptedException e) {
相关文章
相关标签/搜索