www.digitalmars.com         C & C++   DMDScript  

digitalmars.D - Re: Collateral Exceptions, Throwable vs Exception

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) ?
Aug 19 2010