This from Brian Goetz:
https://www.ibm.com/developerworks/library/j-jtp05236/
The InterruptedException is for stopping a thread or exiting an application. If you catch an InterruptedException then release any resources that the thread has and finally call Thread.currentThread().interrupt() to notify the caller.
The article provides further details on how to make sure your threads play nice when your app or long-running task needs to quit.
https://www.ibm.com/developerworks/library/j-jtp05236/
The InterruptedException is for stopping a thread or exiting an application. If you catch an InterruptedException then release any resources that the thread has and finally call Thread.currentThread().interrupt() to notify the caller.
The article provides further details on how to make sure your threads play nice when your app or long-running task needs to quit.