From: Sijo Kg Date: 2008-08-22T20:09:05+09:00 Subject: Re: Nesting exception Hi Thanks for the reply .The following is working and prints 'Also this error caught' begin f=File.open('a') rescue Exception => exception begin if exception.message1 == 'No such file or directory - a' puts ' in if part of rescue' else puts 'in else case' end rescue NoMethodError => e: puts 'Also this error caught' end end Sijo -- Posted via http://www.ruby-forum.com/.