Uwe Kubosch wrote:
On Sat, 2008-08-02 at 23:20 -0500, Charles Oliver Nutter wrote:
- You can only catch java.lang.Exception subtypes right now...should I
allow all Throwables?
Yes, why not?
Mostly I was trying to avoid interfering with languages or frameworks
that use Error subtypes for intra-thread control logic. It will also
slow down more types of exceptions (obviously, all of them) passing
through rescues. But I have not done any benchmarking to see how
expensive it actually turns out to be either way.
Do you have a use case for actually catching an Error?
- Charlie
---------------------------------------------------------------------
To unsubscribe from this list, please visit:
http://xircles.codehaus.org/manage_email