From: Martin Hart Date: 2004-04-13T00:30:16+09:00 Subject: Re: error catching question: On Monday 12 Apr 2004 4:24 pm, Greg Brondo wrote: > I have some code that checks a pop3 email box for me. It is wrapped in a > begin/rescue clause. However, somehow it seems to have escaped the rescue > clause: > [snip] > > Any ideas why the begin/rescue didn't catch it? > > Thanks,. > Greg B. rescue by itself only catches StandardError and derivatives I think.. try begin #your code rescue Exception => e #your code end -- Martin Hart Arnclan Limited Union Street, Dunstable, LU6 1EX http://www.arnclan.com