java.lang.Object | +----java.lang.Throwable | +----java.lang.Exception | +----java.lang.InterruptedException
Thrown when a thread is waiting, sleeping, or otherwise paused for
a long time and another thread interrupts it using the
interrupt
method in class Thread
.
InterruptedException
with no detail message.
InterruptedException
with the
specified detail message.
public InterruptedException()
InterruptedException
with no detail message.
public InterruptedException(String s)
InterruptedException
with the
specified detail message.