|
Forward Computing and Control Pty. Ltd. Threads Package V1.0.3 2005/04/11 |
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjava.lang.Throwable
java.lang.Exception
java.lang.InterruptedException
au.com.forward.threads.ThreadException
au.com.forward.threads.ThreadInterruptedException
public class ThreadInterruptedException
An exception of this class is thrown by the ThreadReturn.join()
methods when
the thread being joined throws an InterruptedException
or a ClosedByInterruptException
.
These exceptions are also passed in a ThreadEvent
to the
threadInterrupted(ThreadEvent e)
methods, if there are ThreadListener
s
for the thread being joined.
It extends InterruptedException
which
is thrown by Thread.join()
so you do not need to change your throws
specifications
when replacing thread.join()
with ThreadReturn.join()
.
See ThreadReturn
for details.
The name of the thread being joined is stored in this exception's message and the thread's Throwable
is
stored as the cause of this exception.
You can use StackTrace.toString(Throwable e)
to get this exception and its cause
as a String
There is no public constructor for this class as it is only used by
ThreadReturn
.
Method Summary |
---|
Methods inherited from class java.lang.Throwable |
---|
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
|
Forward Computing and Control Pty. Ltd. Threads Package V1.0.3 2005/04/11 |
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |