Selaa lähdekoodia

2005-10-19 Senganal T <[email protected]>

* SqlException.cs (Constructor)
- Modified the constructor, so that the message parameter
of base class is not the same as that of the Exception message.
fixes bug #76468


svn path=/trunk/mcs/; revision=51908

Senganal T 20 vuotta sitten
vanhempi
sitoutus
d503f93aef

+ 7 - 0
mcs/class/System.Data/System.Data.SqlClient/ChangeLog

@@ -1,3 +1,10 @@
+2005-10-19  Senganal T  <[email protected]>
+	
+	* SqlException.cs (Constructor)
+		- Modified the constructor, so that the message parameter
+		of base class is not the same as that of the Exception message.
+		fixes bug #76468
+		
 2005-09-24  Sureshkumar T  <[email protected]>
 
 	* SqlParameterCollection.cs (AddWithValue): added method. patch

+ 1 - 1
mcs/class/System.Data/System.Data.SqlClient/SqlException.cs

@@ -79,7 +79,7 @@ namespace System.Data.SqlClient {
 		}
 
 		internal SqlException (byte theClass, int lineNumber, string message, int number, string procedure, string server, string source, byte state) 
-			: this (message, 
+			: this (null, 
 				null, 
 				new SqlError (theClass, lineNumber, message, 
 					      number, procedure, server, source,