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.
The moose likes Developer Certification (SCJD/OCMJD) and the fly likes NX: InterruptedException and IOException 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 "NX: InterruptedException and IOException" Watch "NX: InterruptedException and IOException" New topic
Author

NX: InterruptedException and IOException

Bigwood Liu
Ranch Hand

Joined: Feb 26, 2003
Posts: 240
Hi,
InterruptedException and IOException don't be thrown in Data class, but sometimes we have to deal with it.
How do you like to chain this kind of exception as this:

Damu
Vlad Rabkin
Ranch Hand

Joined: Jul 07, 2003
Posts: 555
Hi Damu,
There were a lot of long discussions about this issue.
I personally beilieve that it should be Ok for both:
IOException and InterruptedException to chain than through MyOwnRuntimeException.
Best,
Vlad
 
Have you checked out Aspose?
 
subject: NX: InterruptedException and IOException
 
It's not a secret anymore!