From: Nigel Henbest Date: 2006-05-30T23:10:02+09:00 Subject: exception handling I have a(nother) question concerning exception handling. My code retrieves stock data from yahoo like this. require 'yahoofinance' tickers = File.new("/home/nigels/financials/symbols") tickers.each_line do |ticker| quotes = YahooFinance::get_standard_quotes( ticker ) quotes.each do |symbol, qt| ... end end Occasionally, yahoo will drop requests which results in timeout exceptions. I would like to "catch" the exception and simply continue with the next ticker. Any ideas. Thanks for your help. Nigel -- Posted via http://www.ruby-forum.com/.