[Issue 8909] is{File, Dir, SymLink} mix return error code and exception

d-bugmail at puremagic.com d-bugmail at puremagic.com
Mon Oct 29 09:01:07 PDT 2012


http://d.puremagic.com/issues/show_bug.cgi?id=8909


Jonathan M Davis <jmdavisProg at gmx.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |jmdavisProg at gmx.com


--- Comment #1 from Jonathan M Davis <jmdavisProg at gmx.com> 2012-10-29 09:01:03 PDT ---
I believe that the only reason that they'll throw is if they fail to stat the
file, and it makes perfect sense IMHO for them to throw in that case. Neither
true nor false would be correct if the file doesn't even exist in the first
place. As long as you check that the file exists in the first place, you
shouldn't need to worry about them throwing exceptions.

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------


More information about the Digitalmars-d-bugs mailing list