阅读背景:

什么时候Java线程。抛出InterruptedException睡觉?

来源:互联网 

When does Java's Thread.sleep throw InterruptedException? Is it safe to ignore it? I am not doing any multithreading. I just want to wait for a few seconds before retrying some operation.When does Java's Thread.sleep throw Interrupted




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: