public class InterruptedException extends Exception
Object.wait()
,
Object.wait(long)
,
Object.wait(long, int)
,
Thread.sleep(long)
Constructor and Description |
---|
InterruptedException()
Constructs an
InterruptedException with no detail message. |
InterruptedException(String s)
Constructs an
InterruptedException with the
specified detail message. |
public InterruptedException()
InterruptedException
with no detail message.public InterruptedException(String s)
InterruptedException
with the
specified detail message.s
- the detail message.Copyright (c) 1990, 2012, Oracle and/or its affiliates. All rights reserved.