[Mono-bugs] [Bug 363799] New: Mono ignores a try/catch block

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Thu Feb 21 15:15:15 EST 2008


https://bugzilla.novell.com/show_bug.cgi?id=363799


           Summary: Mono ignores a try/catch block
           Product: Mono: Runtime
           Version: unspecified
          Platform: Other
        OS/Version: Other
            Status: NEW
          Severity: Normal
          Priority: P5 - None
         Component: misc
        AssignedTo: mono-bugs at lists.ximian.com
        ReportedBy: rkumpera at novell.com
         QAContact: mono-bugs at lists.ximian.com
          Found By: ---


Mono ignore the try/catch of the attached test.

The C# code looks like:

Foo () {
  MethodThatDoesntExist(); //method doesn't exist
}

Main () {
 try {
   Foo();
 } catch (Exception e) {
  if (e instanceof MethodMissingException)
   return 0;
 }
 return 1;
}

Mono ignores the try/catch in Main and terminates with an unhandled
MethodMissingException.


-- 
Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
You are the assignee for the bug.


More information about the mono-bugs mailing list