*
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
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.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: sleep()
 
Similar Threads
I dont know what is it
Name Joke
Contacting chicken...
WA#2 word association
violence or non-violence