From: Paul Brannan Date: 2002-04-12T22:34:41+09:00 Subject: Re: exceptions that are not Exceptions On Fri, Apr 12, 2002 at 09:09:07AM +0900, Yukihiro Matsumoto wrote: > "someone" should not use non-exception class for rb_raise(). > It's a bug in the extension, so the best solution is ask him/her to > fix the bug. If this is a bug in the extension, then why is it allowed at all? rb_f_raise checks rb_obj_is_kind_of(val, rb_eException). errinfo_setter also makes this check. Why not have rb_exc_raise also make this check? Paul