Re: Exceptions and SEH filters
Fei Chen <[email protected]> Tue, 29 Mar 2005 21:59:07 -0800
| Newsgroups | gmane.comp.windows.devel.dotnet.rotor |
|---|---|
| Message-ID | <4CB978B8C097804C87B72931626B433804CCBC5B@RED-MSG-41.redmond.corp.microsoft.com> |
Rotor doesn't use Win32 SEH, because it has to work on FreeBSD and Mac. It simulates the exception handling. -----Original Message----- From: Discussion of the Rotor Shared Source CLI implementation [mailto:[email protected]] On Behalf Of Keith Hill Sent: Tuesday, March 29, 2005 9:50 PM To: [email protected] Subject: [DOTNET-ROTOR] Exceptions and SEH filters I assume that underneath .NET exception handling is good ol' Win32 SEH. I also assume that a "throw" in C# somewhere causes a call to RaiseException(). What I'm wondering is how the CLR's 1st pass filter function finds the exception object? From what I can see, the throw populates the ExceptionInformation array with a single value that is the HResult of the exception. Is that value used to "lookup" the corresponding exception object? -- Keith =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D This list is hosted by DevelopMentor(r) http://www.develop.com View archives and manage your subscription(s) at http://discuss.develop.com =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D This list is hosted by DevelopMentor=AE http://www.develop.com View archives and manage your subscription(s) at http://discuss.develop.com