scope() statements and return

Andrei Alexandrescu via Digitalmars-d digitalmars-d at puremagic.com
Mon Oct 6 07:54:37 PDT 2014


On 10/6/14, 7:24 AM, monarch_dodra wrote:
>
> If your "catch" throws an exception, then the new exception simply
> "squashes" replaces the old one:
>
> //----
> catch (Exception e)
> {
>      thisMightThrow(); //Lose "e" here
>      throw e;
> }
> //----

That's code under library/user control, I'm talking about the 
responsibility of the language. -- Andrei


More information about the Digitalmars-d mailing list