Program logic bugs vs input/environmental errors (checked exceptions)

Andrei Alexandrescu via Digitalmars-d digitalmars-d at puremagic.com
Mon Oct 6 12:05:13 PDT 2014


On 10/6/14, 11:13 AM, Jacob Carlborg wrote:
> Then you'll always catch all exceptions. If error code doesn't match you
> need to rethrow the exception. Or make a language change that allows to
> catch based on the error code.

Either solution is fine here because that's the rare case. -- Andrei


More information about the Digitalmars-d mailing list