diff options
author | Dick Porter <dick@acm.org> | 2003-03-20 12:49:03 +0300 |
---|---|---|
committer | Dick Porter <dick@acm.org> | 2003-03-20 12:49:03 +0300 |
commit | 4be18ef0a53b99efb6925dc504e58f818307ac7b (patch) | |
tree | 1e157476554a381384b9482de02a53a6f71acb77 /mcs/class/System/System.ComponentModel | |
parent | dc126d7e0693c2dc4d8f0ded709e60f08548e17e (diff) |
2003-03-20 Dick Porter <dick@ximian.com>
* Win32Exception.cs: Made the fallback error more useful by
reporting the error number
svn path=/trunk/mcs/; revision=12699
Diffstat (limited to 'mcs/class/System/System.ComponentModel')
-rw-r--r-- | mcs/class/System/System.ComponentModel/ChangeLog | 5 | ||||
-rwxr-xr-x | mcs/class/System/System.ComponentModel/Win32Exception.cs | 2 |
2 files changed, 6 insertions, 1 deletions
diff --git a/mcs/class/System/System.ComponentModel/ChangeLog b/mcs/class/System/System.ComponentModel/ChangeLog index 420f2ab1e44..7f4eb3d59bd 100644 --- a/mcs/class/System/System.ComponentModel/ChangeLog +++ b/mcs/class/System/System.ComponentModel/ChangeLog @@ -1,3 +1,8 @@ +2003-03-20 Dick Porter <dick@ximian.com> + + * Win32Exception.cs: Made the fallback error more useful by + reporting the error number + 2003-03-14 Gonzalo Paniagua Javier <gonzalo@ximian.com> * MarshalByValueComponent.cs: removed a monotodo. diff --git a/mcs/class/System/System.ComponentModel/Win32Exception.cs b/mcs/class/System/System.ComponentModel/Win32Exception.cs index a7132592a4e..b88a3c80e5b 100755 --- a/mcs/class/System/System.ComponentModel/Win32Exception.cs +++ b/mcs/class/System/System.ComponentModel/Win32Exception.cs @@ -120,7 +120,7 @@ namespace System.ComponentModel string message=(string)w32_errors[error_code]; if(message==null) { - return(Locale.GetText("Some sort of w32 error occurred")); + return(Locale.GetText("Some sort of w32 error occurred: ") + error_code.ToString()); } else { return(message); } |