From: Shannon Fang Date: 2002-12-03T22:49:59+09:00 Subject: exception types Hi, Can anybody help me on the rescue clause? I tried to catch file not found error of file.open method, but I don't know what type of error to use in rescue clause. i tried to write nothing after rescue, it seems not catching the error. Further more: 1. where can I find a reference to different kind of runtime errors? It seems that there are no information on that (Exception Class?) in pickaxe... 2. in "rescue SyntaxError, NameError => boom", is => used to denote a hash? if so, why NameError is a hash? If not, maybe gavin can add this usage of => to the FunnySymbolsInCode FAQ... Thanks, Shannon _________________________________________________________________ Tired of spam? Get advanced junk mail protection with MSN 8. http://join.msn.com/?page=features/junkmail