From: Tobias Grimm Date: 2004-08-27T18:54:13+09:00 Subject: Re: rb_rescue2 - throwing exception in rescue_func nobu.nokada@softhome.net wrote: > To deal with "retry", both of rb_rescue() and rb_rescue2() use > PROT_TAG() while calling rescue_func, and throwing C++ > exception leaves it. It should be fatal. Thanks. Lyle Johnson will be so kind to replace rb_rescue2() with rb_protect() in SWIG. This should allow custom exceptions to be raised when the function invoked by rb_protect fails. bye, Tobias