digitalmars.D.bugs - [Issue 22946] New: WindowsException ctor is not nothrow
- d-bugmail puremagic.com (17/17) Mar 27 2022 https://issues.dlang.org/show_bug.cgi?id=22946
https://issues.dlang.org/show_bug.cgi?id=22946 Issue ID: 22946 Summary: WindowsException ctor is not nothrow Product: D Version: D2 Hardware: All OS: Windows Status: NEW Severity: normal Priority: P1 Component: phobos Assignee: nobody puremagic.com Reporter: moonlightsentinel disroot.org WindowsExceptions ctor is not marked as nothrow because it may throw an exception e.g. due to the UTF16 => UTF8 construction. But an exception thrown from the ctor would hide the actual error message! --
Mar 27 2022