Tuesday 12 March 2013

java.lang InterruptedException


java.lang
InterruptedException

Declaration
public class InterruptedException extends Exception
java.lang.Object
|
+--java.lang.Throwable
|
+--java.lang.Exception
|
+--java.lang.InterruptedException
Description
Thrown when a thread is waiting, sleeping, or otherwise paused for a long time and another thread interrupts it.
Since: JDK1.0, CLDC 1.0
See Also: Object.wait(), Object.wait(long), Object.wait(long, int),
Thread.sleep(long)


Constructors
InterruptedException()
InterruptedException(String s)


Methods inherited from class Object
equals(Object), getClass(), hashCode(), notify(), notifyAll(), wait(), wait(), wait()
Methods inherited from class Throwable
getMessage(), printStackTrace(), toString()


Constructors
InterruptedException()
Declaration:
public InterruptedException()

Description:
Constructs an InterruptedException with no detail message.
InterruptedException(String)
Declaration:
public InterruptedException(java.lang.String s)
Description:
Constructs an InterruptedException with the specified detail message.
Parameters:
s - the detail message.





No comments:

Post a Comment