public class InterruptedExceptionHandler extends java.lang.Object implements InterruptHandler
Constructor and Description |
---|
InterruptedExceptionHandler() |
Modifier and Type | Method and Description |
---|---|
void |
handleInterrupted(java.lang.InterruptedException exc)
Gets notified when the thread is interrupted to take any action
that deems appropriate like throwing a customized exception etc.
|
public void handleInterrupted(java.lang.InterruptedException exc)
handleInterrupted
in interface InterruptHandler
exc
- the original InterruptedException
.