On Thu, 24 Apr 2008 13:26:59 -0700, MenTaLguY <[EMAIL PROTECTED]> wrote:
> On Thu, 24 Apr 2008 12:35:50 -0700, MenTaLguY <[EMAIL PROTECTED]> wrote:
>> How about only doing the capture and conversion of Java exceptions when
>> compiling/interpreting a begin...rescue block with a clause that traps
>> NativeExceptions?
>
> Argh, forgot that the exception class can be an arbitrary expression. So
> really you need to do that conversion at any begin...rescue clause.
But... you can still forgo the conversion on a dynamic basis, based on
whether any rescue clauses are found to apply to NativeException. So
that still lets you avoid conversion much of the time.
-mental
---------------------------------------------------------------------
To unsubscribe from this list, please visit:
http://xircles.codehaus.org/manage_email