Subscribe

RSS Feed (xml)

Powered By

Skin Design:
Free Blogger Skins

Powered by Blogger

Search Your Question

Tuesday, May 6, 2008

Should we always throw our own exceptions?

Throwing your own exceptions signifies some design flaws in the project.

If at that point you know that an error has occurred, then why not write the proper code to handle that error instead of passing a new Exception object to the catch block?

No comments:

Archives