aspose file tools
The moose likes Java in General and the fly likes sleep() Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Groovy Fundamentals video training course this week in the Groovy forum!
JavaRanch » Java Forums » Java » Java in General
Bookmark "sleep()" Watch "sleep()" New topic
Author

sleep()

suman deb
Ranch Hand

Joined: Jul 14, 2005
Posts: 54
Sleep() throws which exception?
David Ulicny
Ranch Hand

Joined: Aug 04, 2004
Posts: 724
Why don't you check the API?


SCJP<br />SCWCD <br />ICSD(286)<br />MCP 70-216
Barry Gaunt
Ranch Hand

Joined: Aug 03, 2002
Posts: 7729
Sleep does not always throw an exception, only when the thread is interrupted.


Ask a Meaningful Question and HowToAskQuestionsOnJavaRanch
Getting someone to think and try something out is much more useful than just telling them the answer.
 
Don't get me started about those stupid light bulbs.
 
subject: sleep()