[Issue 22946] New: WindowsException ctor is not nothrow

d-bugmail at puremagic.com d-bugmail at puremagic.com
Sun Mar 27 17:32:09 UTC 2022


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 at puremagic.com
          Reporter: moonlightsentinel at 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!

--


More information about the Digitalmars-d-bugs mailing list