> something like the below would catch errors 1 and 2 respectively, and if
> the error didn't fall into those categories then the third rescue would
> catch it.
>
> rescue 1
> rescue 2
> rescue

but I have seen that in the following two statements

rescue => e
and
rescue Exception => e

The 'execution expired' error is caught by second statement, but not 
first statement.. WHY?

-- 
Posted via http://www.ruby-forum.com/.