https://issues.dlang.org/show_bug.cgi?id=13542
--- Comment #5 from Vladimir Panteleev <[email protected]> --- (In reply to Walter Bright from comment #4) > (In reply to Vladimir Panteleev from comment #3) > > No. It throws a WindowsException. > > Then it has changed recently? stdio.d line 961: Oh, that's a completely different wenforce (which I also added a while ago, and forgot about). It should be changed to use the new one, in std.windows.syserror. > > I suggest fixing the existing code without breaking it. Why do you think I > > suggested otherwise? > > Because I thought you suggested throwing a different error than > FileException. IF that is incorrect, then I was wrong. My suggestion was to make FileException an alias of OSException, so no code will break (unless it compares the class name string from classinfo or something). --
