2010-04-27 Marek Habersack <mhabersack@novell.com>
authorMarek Habersack <grendel@twistedcode.net>
Mon, 26 Apr 2010 23:38:29 +0000 (23:38 -0000)
committerMarek Habersack <grendel@twistedcode.net>
Mon, 26 Apr 2010 23:38:29 +0000 (23:38 -0000)
commit54112d5a22095dc19576c123ee1a8ae1f02812bc
treed23243386565e7c7db0197b4032e296700b36add
parentb65489f64fca749600be59fcdf614cb657032e8d
2010-04-27  Marek Habersack  <mhabersack@novell.com>

* HttpException.cs: implemented 4.0 property WebEventCode, also
made it available in the 2.0 profile as internal.
Added a method with several overloads, NewWithCode, which creates
an instance of HttpException and sets the web error code.

* HttpApplication.cs, HttpRequest.cs, HttpRuntime.cs: use
HttpException.NewWithCode for some exceptions.

svn path=/trunk/mcs/; revision=156150
mcs/class/System.Web/System.Web/ChangeLog
mcs/class/System.Web/System.Web/HttpApplication.cs
mcs/class/System.Web/System.Web/HttpException.cs
mcs/class/System.Web/System.Web/HttpRequest.cs
mcs/class/System.Web/System.Web/HttpRuntime.cs
mcs/class/System.Web/System.Web_test.dll.sources
mcs/class/System.Web/Test/System.Web/HttpExceptionTest.cs [new file with mode: 0644]