Program logic bugs vs input/environmental errors (checked exceptions)
Walter Bright via Digitalmars-d
digitalmars-d at puremagic.com
Sun Oct 5 14:27:42 PDT 2014
On 10/5/2014 9:18 AM, Andrei Alexandrescu wrote:
> Exceptions are all about centralized error handling. How, and how often, would
> you handle FileNotFoundException differently than PermissionDeniedException?
You would handle it differently if there was extra data attached to that
particular exception, specific to that sort of error.
More information about the Digitalmars-d
mailing list