Prechádzať zdrojové kódy

keep the internal exception

svn path=/trunk/mcs/; revision=60490
Andrew Skiba 19 rokov pred
rodič
commit
ab693f5a92

+ 4 - 0
mcs/class/System.Web/System.Web.Configuration_2.0/ChangeLog

@@ -1,3 +1,7 @@
+2006-05-10  Andrew Skiba <[email protected]>
+
+	* HttpHandlerAction.cs: keep the internal exception
+
 2006-05-08  Chris Toshok  <[email protected]>
 
 	* WebConfigurationManager.cs (GetBasePath): fix bug where

+ 1 - 1
mcs/class/System.Web/System.Web.Configuration_2.0/HttpHandlerAction.cs

@@ -180,7 +180,7 @@ namespace System.Web.Configuration
 			try {
 				t = System.Type.GetType (type_name, true);
 			} catch (Exception e) {
-				throw new HttpException (String.Format ("Failed to load httpHandler type `{0}'", type_name));
+				throw new HttpException (String.Format ("Failed to load httpHandler type `{0}'", type_name), e);
 			}
 
 			if (typeof (IHttpHandler).IsAssignableFrom (t) ||