Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

best practices for exception hierarchies?

19 views
Skip to first unread message

Joshua Haberman

unread,
Mar 19, 2006, 1:11:41 PM3/19/06
to
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


0 new messages