java.lang.Object
|
+----java.lang.Throwable
|
+----java.lang.Exception
|
+----java.lang.InterruptedException
当一个线程正在等待、休眠、或暂停了较长时间,而另一个线程用
Thread 类中的 interrupt 方法中断它时抛出该异常。
InterruptedException。
IllegalAccessError。
public InterruptedException()
InterruptedException。
public InterruptedException(String s)
IllegalAccessError 。