From: Benjamin Babut Date: 2007-02-05T19:26:51+09:00 Subject: Re: Exception never raised when threading an eval containing a malformed command [might be a bug ?] > Hi, > > it's easy: > $FOO+2 raises NoMethodError < StandardError > while eval(..) raises SyntaxError !< StandardError > > empty rescue == rescue StandardError > > If you want to catch ALL exceptions, use rescue Exception. > > For exceptions hierarchy see > http://www.zenspider.com/Languages/Ruby/QuickRef.html#34 > Thanks Jan ! Really easy indeed, and it solved my problem :). Ben