Proposal: Extensible exceptions
Brandon S. Allbery KF8NH
allbery at ece.cmu.edu
Fri Jul 4 15:22:23 EDT 2008
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?
--
brandon s. allbery [solaris,freebsd,perl,pugs,haskell] allbery at kf8nh.com
system administrator [openafs,heimdal,too many hats] allbery at ece.cmu.edu
electrical and computer engineering, carnegie mellon university KF8NH
More information about the Libraries
mailing list