2008/11/2 [EMAIL PROTECTED] <[EMAIL PROTECTED]>
>
> b) makes sense, though it is surprising:  I mean developer-defined
> errors are usually Exceptions, and should be caught too, no ?  I need
> to pick up my ruby book again.
>

It's a common developer mistake to derive new exception classes from
Exception, rather than StandardError. Such exception classes will not be
rescued by a default rescue clause.

-- 
James.
http://blog.floehopper.org

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Talk" group.
To post to this group, send email to rubyonrails-talk@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-talk?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to