Name

InterruptedException

Synopsis

Signals that the thread has been interrupted.

java.lang.InterruptedException

Figure 10-37. java.lang.InterruptedException

public class InterruptedException extends Exception {
// Public Constructors
     public InterruptedException( );  
     public InterruptedException(String s);  
}

Thrown By

Too many methods to list.

Get Java in a Nutshell, 5th Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.