[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Dotgnu-pnet-commits] CVS: pnetlib/System/ComponentModel InvalidEnumArgu
From: |
Rhys Weatherley <address@hidden> |
Subject: |
[Dotgnu-pnet-commits] CVS: pnetlib/System/ComponentModel InvalidEnumArgumentException.cs,1.2,1.3 WarningException.cs,1.2,1.3 Win32Exception.cs,1.3,1.4 |
Date: |
Fri, 04 Apr 2003 19:35:18 -0500 |
Update of /cvsroot/dotgnu-pnet/pnetlib/System/ComponentModel
In directory subversions:/tmp/cvs-serv20048/System/ComponentModel
Modified Files:
InvalidEnumArgumentException.cs WarningException.cs
Win32Exception.cs
Log Message:
Add the appropriate HResult values to all exception classes.
Index: InvalidEnumArgumentException.cs
===================================================================
RCS file:
/cvsroot/dotgnu-pnet/pnetlib/System/ComponentModel/InvalidEnumArgumentException.cs,v
retrieving revision 1.2
retrieving revision 1.3
diff -C2 -r1.2 -r1.3
*** InvalidEnumArgumentException.cs 31 Dec 2002 06:40:28 -0000 1.2
--- InvalidEnumArgumentException.cs 5 Apr 2003 00:35:16 -0000 1.3
***************
*** 31,34 ****
--- 31,35 ----
public InvalidEnumArgumentException()
{
+ HResult = (int)0x80070057;
throw new NotImplementedException(".ctor");
}
***************
*** 37,40 ****
--- 38,42 ----
public InvalidEnumArgumentException(String message)
{
+ HResult = (int)0x80070057;
throw new NotImplementedException(".ctor");
}
***************
*** 44,47 ****
--- 46,50 ----
int invalidValue, Type
enumClass)
{
+ HResult = (int)0x80070057;
throw new NotImplementedException(".ctor");
}
Index: WarningException.cs
===================================================================
RCS file:
/cvsroot/dotgnu-pnet/pnetlib/System/ComponentModel/WarningException.cs,v
retrieving revision 1.2
retrieving revision 1.3
diff -C2 -r1.2 -r1.3
*** WarningException.cs 31 Dec 2002 06:40:28 -0000 1.2
--- WarningException.cs 5 Apr 2003 00:35:16 -0000 1.3
***************
*** 31,34 ****
--- 31,35 ----
public WarningException(String message)
{
+ HResult = (int)0x80131501;
throw new NotImplementedException(".ctor");
}
***************
*** 37,40 ****
--- 38,42 ----
public WarningException(String message, String helpUrl)
{
+ HResult = (int)0x80131501;
throw new NotImplementedException(".ctor");
}
***************
*** 44,47 ****
--- 46,50 ----
String helpTopic)
{
+ HResult = (int)0x80131501;
throw new NotImplementedException(".ctor");
}
Index: Win32Exception.cs
===================================================================
RCS file: /cvsroot/dotgnu-pnet/pnetlib/System/ComponentModel/Win32Exception.cs,v
retrieving revision 1.3
retrieving revision 1.4
diff -C2 -r1.3 -r1.4
*** Win32Exception.cs 15 Feb 2003 18:23:48 -0000 1.3
--- Win32Exception.cs 5 Apr 2003 00:35:16 -0000 1.4
***************
*** 31,34 ****
--- 31,35 ----
public Win32Exception() : base()
{
+ HResult = (int)0x80004005;
}
***************
*** 36,39 ****
--- 37,41 ----
public Win32Exception(int error) : base()
{
+ HResult = (int)0x80004005;
}
***************
*** 41,44 ****
--- 43,47 ----
public Win32Exception(int error, String message) : base(message)
{
+ HResult = (int)0x80004005;
}
***************
*** 46,49 ****
--- 49,53 ----
internal Win32Exception(String message) : base (message)
{
+ HResult = (int)0x80004005;
}
***************
*** 52,55 ****
--- 56,60 ----
: base (message,inner)
{
+ HResult = (int)0x80004005;
}
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Dotgnu-pnet-commits] CVS: pnetlib/System/ComponentModel InvalidEnumArgumentException.cs,1.2,1.3 WarningException.cs,1.2,1.3 Win32Exception.cs,1.3,1.4,
Rhys Weatherley <address@hidden> <=