Uses of Class java.lang.InterruptedException

Uses in package java.lang

Methods which throw type java.lang.InterruptedException

void
Wait forever for the Thread in question to die.
void
Thread.join(long ms)
Wait the specified amount of time for the Thread in question to die.
void
Thread.join(long ms, int ns)
Wait the specified amount of time for the Thread in question to die.
void
Thread.sleep(long ms)
Suspend the current Thread's execution for the specified amount of time.
void
Thread.sleep(long ms, int ns)
Suspend the current Thread's execution for the specified amount of time.
void
Waits indefinitely for notify() or notifyAll() to be called on the Object in question.
void
Object.wait(long ms)
Waits a specified amount of time (or indefinitely if the time specified is 0) for someone to call notify() or notifyAll() on this Object, waking up this Thread.
void
Object.wait(long ms, int ns)
Waits a specified amount of time (or indefinitely if the time specified is 0) for someone to call notify() or notifyAll() on this Object, waking up this Thread.
int
The thread calling waitFor will block until the subprocess has terminated.

Uses in package javax.swing

Methods which throw type java.lang.InterruptedException

void
Calls EventQueue.invokeAndWait(Runnable) with the specified Runnable.

Uses in package java.awt

Methods which throw type java.lang.InterruptedException

AWTEvent
Returns the next event in the queue.
void
Causes runnable to have its run method called in the dispatch thread of the EventQueue.
void
Waits for all media objects to finish loading, either by completing successfully or by aborting or encountering an error.
boolean
Waits for all media objects to finish loading, either by completing successfully or by aborting or encountering an error.
void
Waits for all media objects with the specified ID to finish loading, either by completing successfully or by aborting or encountering an error.
boolean
MediaTracker.waitForID(int id, long ms)
Waits for all media objects with the specified ID to finish loading, either by completing successfully or by aborting or encountering an error.

Uses in package java.lang.ref

Methods which throw type java.lang.InterruptedException

Reference
Removes a reference from the queue, blocking until a reference is enqueued.
Reference
Removes a reference from the queue, blocking for timeout until a reference is enqueued.

Uses in package java.awt.image

Methods which throw type java.lang.InterruptedException

boolean
Have our Image or ImageProducer start sending us pixels via our ImageConsumer methods and wait for all pixels in the grab rectangle to be delivered.
boolean
grabPixels's behavior depends on the value of ms.