ArgumentNullException. Patch by Yaron Shkop.
svn path=/trunk/mcs/; revision=19601
+2003-11-03 Jackson Harper <jackson@ximian.com>
+
+ * HttpResponse.cs (ContentEncoding): Throw
+ ArgumentNullException. Patch by Yaron Shkop.
+
2003-10-30 Atsushi Enomoto <ginga@kit.hi-ho.ne.jp>
* HttpMultipartContentParser.cs : Quick fix for cygwin build.
set {
if (value == null)
- throw new ArgumentException ("Can't set a null as encoding");
+ throw new ArgumentNullException ("Can't set a null as encoding");
_ContentEncoding = value;