[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.


--- 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   
+Priority: Normal
+Component: misc
+AssignedTo: mono-bugs at ximian.com                            
+ReportedBy: gert.driesen at pandora.be               
+QAContact: mono-bugs at ximian.com
+TargetMilestone: ---
+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:
+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