[Mono-bugs] [Bug 523525] New: Differing exception messages between .NET and Mono

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Mon Jul 20 10:55:44 EDT 2009


http://bugzilla.novell.com/show_bug.cgi?id=523525


           Summary: Differing exception messages between .NET and Mono
    Classification: Mono
           Product: Mono: Class Libraries
           Version: 2.4.x
          Platform: x86
        OS/Version: Other
            Status: NEW
          Severity: Normal
          Priority: P5 - None
         Component: System
        AssignedTo: mono-bugs at lists.ximian.com
        ReportedBy: reidhoch at yahoo.com
         QAContact: mono-bugs at lists.ximian.com
          Found By: ---


User-Agent:       Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.1.1)
Gecko/20090715 Firefox/3.5.1 (.NET CLR 3.5.21022)

For .NET ArgumentNullException produces the exception message "Value cannot be
null.", for Mono the message is "Argument cannot be null." XmlException also
produces a different message on Mono and .NET. For .NET I expect something
along the lines of "The 'include' start tag on line 5 does not match the end
tag of 'includ'.", but I receive "'include' is expected Line 9, position 54."

Reproducible: Always

Steps to Reproduce:
1. Throw an ArgumentNullException("blah")
2. Run on .NET, then run on Mono
3.

-- 
Configure bugmail: http://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