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: [email protected]
ReportedBy: [email protected]
QAContact: [email protected]
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.
_______________________________________________
mono-bugs maillist - [email protected]
http://lists.ximian.com/mailman/listinfo/mono-bugs