Chaining exceptions

Sean Kelly sean at invisibleduck.org
Wed Nov 18 18:49:23 PST 2009


Andrei Alexandrescu Wrote:
> 
> Thanks! Question - is there a way to fetch the current Throwable from 
> within a finally clause?

FWIW, I've been thinking about adding this feature for ages.  I think there's even a comment to the effect in core.thread somewhere.  In short, I think we'd need a thread-local field for storing the current exception.



More information about the Digitalmars-d mailing list