[Mono-bugs] [Bug 79808][Nor] New - [2.0] Missing support for RuntimeWrappedException

bugzilla-daemon at bugzilla.ximian.com bugzilla-daemon at bugzilla.ximian.com
Thu Nov 2 12:19:02 EST 2006


Please do not reply to this email- if you want to comment on the bug, go to the
URL shown below and enter your comments there.

Changed by gert.driesen at pandora.be.

http://bugzilla.ximian.com/show_bug.cgi?id=79808

--- shadow/79808	2006-11-02 12:19:02.000000000 -0500
+++ shadow/79808.tmp.13812	2006-11-02 12:19:02.000000000 -0500
@@ -0,0 +1,33 @@
+Bug#: 79808
+Product: Mono: Runtime
+Version: 1.1
+OS: All
+OS Details: 
+Status: NEW   
+Resolution: 
+Severity: 
+Priority: Normal
+Component: misc
+AssignedTo: mono-bugs at ximian.com                            
+ReportedBy: gert.driesen at pandora.be               
+QAContact: mono-bugs at ximian.com
+TargetMilestone: ---
+URL: 
+Cc: 
+Summary: [2.0] Missing support for RuntimeWrappedException
+
+In .NET 2.0 one can use the RuntimeCompatibilityAttriubte assembly-level 
+attribute to instruct the runtime to automatically wrap non-Exception 
+throwables in a RuntimeWrapperException.
+
+This allows one to catch these exception in a catch (Exception) {} block 
+instead of a catch {} block.
+
+More information on this is available here:
+
+http://www.netfxharmonics.com/2005/12/
+http://www.bluebytesoftware.com/blog/PermaLink.aspx?guid=3663a39f-72ed-
+4d40-a4d0-c3fbd3d12716
+
+I've attached a patch which adds unit tests to verify both the 1.0 and 
+2.0 profile behaviour with regards to non-Exception throwables.


More information about the mono-bugs mailing list