| public class java.lang InterruptedException
|
Java SE 6 |
if (Thread.interrupted()) // Clears interrupted status!
throw new InterruptedException();
| version | 1.17, 11/17/05 |
| since | JDK1.0 |
| See also | wait(), wait(long), wait(long, int), sleep(long), interrupt(), interrupted() |
| Constructors | |||
|---|---|---|---|
| public | InterruptedException() Constructs an InterruptedException with no detail message.
| ||
| public | InterruptedException(String s) Details
Constructs an InterruptedException with the
specified detail message.
| ||
| About DocWeb · Bundles · Export · Export All | Top 10 · Statistics · Login |
| About Sun · Contact · Privacy · Terms of Use · Trademarks | Java SE 6 · Copyright © 1994-2009 Sun Microsystems, Inc.All rights reserved. Use is subject to license terms |
![]() |
![]() |
|