Collateral Exceptions, Throwable vs Exception

Kagamin spam at here.lot
Thu Aug 19 23:10:27 PDT 2010


Andrei Alexandrescu Wrote:

> Indirectly, yes (I'm not positive about this detail though): if an 
> Exception is in flight but a Throwable was produced as collateral 
> damage, the Throwable won't disobey normal scoping rules etc. so it 
> won't be "special" anymore.

Can it be fixed with compiler calling, say,
Throwable Runtime.compose(Throwable flying, Throwable thrown)
?


More information about the Digitalmars-d mailing list