From: Joel Pearson Date: 2012-10-23T18:14:36+09:00 Subject: Re: Exception handelling in ruby Maybe another possible explanation would be nested blocks? We haven't seen the layout of the code you're using, but consider this: ___________________________________ SpecialException = "Special exception" begin begin raise SpecialException rescue SpecialException puts e.message puts e.backtrace.inspect raise "Found an error!" rescue Exception => e puts e.message puts e.backtrace.inspect raise "Found an error!" end rescue #This is going to trap the previous raise statements puts "rescued error: #{$!}" end ___________________________________ That rescue on the outside will catch anything raised within the previous error handler. Maybe the layout of your code is causing your problem? -- Posted via http://www.ruby-forum.com/.