GeeCON Prague 2014*
The moose likes Developer Certification (SCJD/OCMJD) and the fly likes InterruptedException Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


JavaRanch » Java Forums » Certification » Developer Certification (SCJD/OCMJD)
Bookmark "InterruptedException" Watch "InterruptedException" New topic
Author

InterruptedException

Michael Morris
Ranch Hand

Joined: Jan 30, 2002
Posts: 3451
Hi All,
Is everyone ignoring the InterruptedException on a wait() call? That is to say:

Thanks,
Michae Morris


Any intelligent fool can make things bigger, more complex, and more violent. It takes a touch of genius - and a lot of courage - to move in the opposite direction. - Ernst F. Schumacher
Mark Spritzler
ranger
Sheriff

Joined: Feb 05, 2001
Posts: 17250
    
    6

Yes
Mark


Perfect World Programming, LLC - Two Laptop Bag - Tube Organizer
How to Ask Questions the Smart Way FAQ
Bal Sharma
Ranch Hand

Joined: Sep 19, 2001
Posts: 273
Hello Michael:
I did not ignore it. I had try and catch block in my lock method as you have mentioned here.
-Bal
Mark Spritzler
ranger
Sheriff

Joined: Feb 05, 2001
Posts: 17250
    
    6

I think he meant ignore, to be not putting any code in it's {} part. At least that how I took it.
Mark
Michael Morris
Ranch Hand

Joined: Jan 30, 2002
Posts: 3451
Hi Mark and Bal,
I meant just not do anything in the catch block as Mark said. Sorry for the confusion.

Michael Morris
Bal Sharma
Ranch Hand

Joined: Sep 19, 2001
Posts: 273
I am sorry, it was my bad. My previous statement was not clear. I had following.

If there is any problem I can see it, I can pin point exact location that was my assumption.
-Bal
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: InterruptedException