Closed aroben closed 12 years ago
How does this help? It looks like you're just adding a new Win32Exception
as an inner exception without any information? Or is the empty Win32Exception
itself the information we're adding? The fact that it was a Win32 exception?
Oh, and the code looks simple enough. :) :shipit:
The Win32Exception()
constructor calls Marshal.GetLastWin32Error()
to initialize the exception.
Ah! I did not know that. Carry on. :)
This will help users figure out what went wrong.