This week's book giveaway is in the OO, Patterns, UML and Refactoring forum. We're giving away four copies of Refactoring for Software Design Smells: Managing Technical Debt and have Girish Suryanarayana, Ganesh Samarthyam & Tushar Sharma on-line! See this thread for details.
When you try to restart a dead thread through calling again that object's start() method, it will throw this exception though you can call start() of a thread twice or thrice but when if it is not a dead one... and also when setDaemon() method is called after a thread is started out IlegalThreadStateException will then also be thrown. Sir W. Brogden defines about this exception somewhere as: The docs for IllegalThreadStateException say: "indicate that a thread is not in an apprpriate state for the requested operation." hope it helps. Rashid Ali [ January 26, 2002: Message edited by: Rashid Ali ]