begin
ie.select_list(:id, "PageSize").select_value("300")
rescue Watir::Exception::UnknownObjectException
aftererrorObj.errorMain(ie,con,country)
retry
rescue Timeout::Error
aftererrorObj.errorMain(ie,con,country)
retry
end
my ruby code is handling exception in this way.Is this right way to handle exception? will it work?