From: SASADA Koichi Date: 2011-06-11T01:06:10+09:00 Subject: [ruby-core:36944] Re: change in timeout error Hi, Matz, is it intentional? (2011/04/29 9:05), Roger Pack wrote: > Hello. Sorry if this is a repeat... > > I noticed that apparently from > http://blade.nagaokaut.ac.jp/cgi-bin/vframe.rb/ruby/ruby-core/15458?15182-15607+split-mode-vertical > > In CRuby 1.9, Timeout::Error is a StandardError so you can rescue it > with the 'rescue' statement. > In CRuby 1.8, Timeout::Error is not a StandardError but a Interrupt > which is a subclass of SignalException. So you can NOT rescue it with > the 'rescue'. > > Is this expected then? > Thanks! > -r > -- // SASADA Koichi at atdot dot net