How about only doing the capture and conversion of Java exceptions when
compiling/interpreting a begin...rescue block with a clause that traps
NativeExceptions?
You don't need to do the conversion all the time (and in fact the performance
hit from the conversion sounds very unappealing) if you're just unwinding
the Ruby stack, right? Only at the point of a begin...rescue which could
potentially catch a NativeException do you ever really need to do a
conversion.
-mental
---------------------------------------------------------------------
To unsubscribe from this list, please visit:
http://xircles.codehaus.org/manage_email