On Thu, Jan 12, 2012 at 10:04 PM, Abinoam Jr. [email protected] wrote:
Hi Abinoam, it is easier to follow the thread if you would write your
bottom (ref. “no top quoting”).
I continue below.
The strange thing is that it was working fine and suddenly stopped. I
can’t recall making an changes related to this code snippet which could
affect it’s behavior.
Any help/thoughts would be welcome,
It looks like the actual “exception” (I quote it because I am not sure
what it is),
Very speculative … could you ask it’s ancestor tree?
[email protected]:~$ irb
=> [Exception, Object, Kernel, BasicObject]
=> [RuntimeError, StandardError, Exception, Object, Kernel, BasicObject]
Maybe (??) it does not inherit from Exception (the actual class) ??
Very speculative …
I believe an exception will only be trapped by the
if the “exception.is_a?(Something)”
HTH (but not sure),