[lnkForumImage]
TotalShareware - Download Free Software

Confronta i prezzi di migliaia di prodotti.
Asp Forum
 Home | Login | Register | Search 


 

Forums >

comp.lang.ruby

best practices for exception hierarchies?

Joshua Haberman

3/19/2006 6:12:00 PM

What are best-practices for exception hierarchies?

Should my exceptions derive from Exception, or StandardError, or
RuntimeError?

Should my exceptions be called FooException or FooError? Does Ruby
give a specific meaning to the difference between an "Error" and an
"Exception?"

Josh