dotgnu-pnet-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Dotgnu-pnet-commits] CVS: pnetlib/runtime/System/Security/Cryptography


From: Rhys Weatherley <address@hidden>
Subject: [Dotgnu-pnet-commits] CVS: pnetlib/runtime/System/Security/Cryptography CryptographicException.cs,1.1,1.2 CryptographicUnexpectedOperationException.cs,1.1,1.2
Date: Fri, 04 Apr 2003 19:35:19 -0500

Update of /cvsroot/dotgnu-pnet/pnetlib/runtime/System/Security/Cryptography
In directory subversions:/tmp/cvs-serv20048/runtime/System/Security/Cryptography

Modified Files:
        CryptographicException.cs 
        CryptographicUnexpectedOperationException.cs 
Log Message:


Add the appropriate HResult values to all exception classes.


Index: CryptographicException.cs
===================================================================
RCS file: 
/cvsroot/dotgnu-pnet/pnetlib/runtime/System/Security/Cryptography/CryptographicException.cs,v
retrieving revision 1.1
retrieving revision 1.2
diff -C2 -r1.1 -r1.2
*** CryptographicException.cs   6 Jul 2002 03:14:26 -0000       1.1
--- CryptographicException.cs   5 Apr 2003 00:35:17 -0000       1.2
***************
*** 51,54 ****
--- 51,63 ----
                        }
  
+       // Get the default HResult value for this type of exception.
+       protected internal override uint HResultDefault
+                       {
+                               get
+                               {
+                                       return 0x80131430;
+                               }
+                       }
+ 
  }; // class CryptographicException
  

Index: CryptographicUnexpectedOperationException.cs
===================================================================
RCS file: 
/cvsroot/dotgnu-pnet/pnetlib/runtime/System/Security/Cryptography/CryptographicUnexpectedOperationException.cs,v
retrieving revision 1.1
retrieving revision 1.2
diff -C2 -r1.1 -r1.2
*** CryptographicUnexpectedOperationException.cs        6 Jul 2002 03:14:26 
-0000       1.1
--- CryptographicUnexpectedOperationException.cs        5 Apr 2003 00:35:17 
-0000       1.2
***************
*** 52,55 ****
--- 52,64 ----
                        }
  
+       // Get the default HResult value for this type of exception.
+       protected internal override uint HResultDefault
+                       {
+                               get
+                               {
+                                       return 0x80131431;
+                               }
+                       }
+ 
  }; // class CryptographicUnexpectedOperationException
  





reply via email to

[Prev in Thread] Current Thread [Next in Thread]