aspose file tools*
The moose likes Developer Certification (SCJD/OCMJD) and the fly likes urlyBird 1.2.3 - Exceptions 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 "urlyBird 1.2.3 - Exceptions" Watch "urlyBird 1.2.3 - Exceptions" New topic
Author

urlyBird 1.2.3 - Exceptions

Payal Shah
Ranch Hand

Joined: Jul 10, 2006
Posts: 67
I have to implement DuplicateKeyException and RecordNotFoundException classes.

I am not sure I should extends them from Exception class (checked exception) or RuntimeException(unchekced exception)

How can you decide?

Thank you
Jeffry Kristianto Yanuar
Ranch Hand

Joined: Oct 01, 2007
Posts: 759
I think it should be Checked, because it will be append to the method header in the interface.

Good Luck !!!

Jeffry Kristianto Yanuar (Java Instructor) SCJP 5.0, SCJA, SCJD (UrlyBird 1.3.2)
Payal Shah
Ranch Hand

Joined: Jul 10, 2006
Posts: 67
Hi Jeffry,

Ya. I see your point. Thank you so much for clarifying that.

Thank you.
Regards,

Payal
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: urlyBird 1.2.3 - Exceptions