Forward Computing and Control Pty. Ltd.
Threads Package V1.0.3

2005/04/11

au.com.forward.threads
Class TimedOutException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by java.lang.InterruptedException
              extended by au.com.forward.threads.TimedOutException
All Implemented Interfaces:
java.io.Serializable

public class TimedOutException
extends java.lang.InterruptedException

An exception of this class is thrown by the ThreadReturn.join() methods when the join() times out before the thread being joined dies.  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 set as this exception's message.  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.

Author:
matthew ford
See Also:
Serialized Form

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

Copyright ©2002-5, Forward Computing and Control Pty. Ltd
ACN 003 669 994   NSW Australia,   All Rights Reserved.