From: Phlip Date: 2008-07-21T02:59:43+09:00 Subject: Re: Does "rescue" wihtour argument handle any kind of Exception or not? > Did you expect your program to do anything after printing "rescued !!!" ? Assuming you are addressing a senior enjinere, not a neophyte, yes I could tell the difference between an interrupt and the rest of my program running. It has major side-effects; I stuck the sample code at the top of my current project. Curiously, this is what the original code was doing: begin raise Interrupt rescue Object p $!.class # sez Interrupt end I didn't catch it either - 'raise' raises the given object, which here was class Interrupt, and the metaclass itself of course does not inherit StandardError. Try: begin raise Interrupt.new('L.A. woman') rescue p $!.class end That does not invoke the rescue, and does clobber the program, all for the correct reasons. And rescue Interrupt catches it. -- Phlip