[Mono-dev] ArgumentNullException Param
Gavin Landon
Gavin.Landon at ignitetech.com
Wed Dec 19 11:14:34 EST 2007
When I pass something into ArgumentNullException I was expecting it to
show up as part of the error message. I assumed because when using
NotSupportedException I know it does. What am I missing?
____________________________
When I call:
-----------
throw new ArgumentNullException ("Add This Message");
-----------
I get:
-----------
Exception System.ArgumentNullException was thrown in debuggee:
Value cannot be null.
BtnExceptionClick()
...
-----------
When I call:
-----------
throw new NotSupportedException ("Add This Message");
-----------
I get:
-----------
Exception System.NotSupportedException was thrown in debuggee:
Add This Message
BtnExceptionClick()
...
-----------
More information about the Mono-devel-list
mailing list