From: Brendan Stennett Date: 2008-04-03T07:37:31+09:00 Subject: Re: ruby constructor return value? > > begin > o = Zip.new('00000') > rescue ArgumentError > # deal with the error here > end I was reading up on exception handling..but i dont understand that difference between throw/catch blocks and begin/resuce blocks. My 2 backgrounds (PHP and VB.NET) both seem to have similar structures in Ruby. PHP had try/throw/catch blocks while ruby has throw/catch and VB.NET has try/catch/finally while Ruby has begin/rescue/ensure. -- Posted via http://www.ruby-forum.com/.