
4 Jul
2008
4 Jul
'08
9:10 p.m.
On Fri, Jul 04, 2008 at 03:22:23PM -0400, Brandon S. Allbery KF8NH wrote:
On 2008 Jul 4, at 9:56, Simon Marlow wrote:
In fact, this applies to catchAny too. It should come with a strong warning, and a suggestion that any unrecognised exceptions should be re-thrown. Most uses of catchAny are to implement
Given that it just tries a catch with each exception in the list, why couldn't it automatically re-throw if none matches?
I think you're confusing "catchAny" (which catches /any/ sort of exception) with "catches" (which has a list of handlers for different types, and does indeed rethrow exceptions that none of the handlers catch). Thanks Ian