Browse Source

2003-03-13 Gonzalo Paniagua Javier <[email protected]>

	* Win32Exception.cs: added error code 2.

svn path=/trunk/mcs/; revision=12476
Gonzalo Paniagua Javier 23 years ago
parent
commit
019f67dea2

+ 4 - 0
mcs/class/System/System.ComponentModel/ChangeLog

@@ -1,3 +1,7 @@
+2003-03-13  Gonzalo Paniagua Javier <[email protected]>
+
+	* Win32Exception.cs: added error code 2.
+
 2003-03-04  Gonzalo Paniagua Javier <[email protected]>
 
 	* Win32Exception.cs: implemented GetObjectData ().

+ 2 - 0
mcs/class/System/System.ComponentModel/Win32Exception.cs

@@ -63,6 +63,8 @@ namespace System.ComponentModel
 			 * the runtime can throw. A list of the errors
 			 * can be found in class System.IO.MonoIOError.
 			 */
+			w32_errors.Add(2,
+				       Locale.GetText("Cannot find the specified file"));
 			w32_errors.Add(10004,
 				       Locale.GetText("interrupted"));
 			w32_errors.Add(10013,