[Top][All Lists]
[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.3,1.4 CryptographicUnexpectedOperationException.cs,1.3,1.4 |
Date: |
Mon, 07 Apr 2003 00:22:54 -0400 |
Update of /cvsroot/dotgnu-pnet/pnetlib/runtime/System/Security/Cryptography
In directory subversions:/tmp/cvs-serv26075/runtime/System/Security/Cryptography
Modified Files:
CryptographicException.cs
CryptographicUnexpectedOperationException.cs
Log Message:
Add serialization support to all of the exception classes in "runtime".
Index: CryptographicException.cs
===================================================================
RCS file:
/cvsroot/dotgnu-pnet/pnetlib/runtime/System/Security/Cryptography/CryptographicException.cs,v
retrieving revision 1.3
retrieving revision 1.4
diff -C2 -r1.3 -r1.4
*** CryptographicException.cs 5 Apr 2003 06:58:12 -0000 1.3
--- CryptographicException.cs 7 Apr 2003 04:22:52 -0000 1.4
***************
*** 26,29 ****
--- 26,30 ----
using System;
+ using System.Runtime.Serialization;
public class CryptographicException : SystemException
***************
*** 41,44 ****
--- 42,48 ----
public CryptographicException(int hr)
: base(_("Crypto_Exception")) {}
+ protected CryptographicException(SerializationInfo info,
+
StreamingContext context)
+ : base(info, context) {}
// Get the default message to use for this exception type.
Index: CryptographicUnexpectedOperationException.cs
===================================================================
RCS file:
/cvsroot/dotgnu-pnet/pnetlib/runtime/System/Security/Cryptography/CryptographicUnexpectedOperationException.cs,v
retrieving revision 1.3
retrieving revision 1.4
diff -C2 -r1.3 -r1.4
*** CryptographicUnexpectedOperationException.cs 5 Apr 2003 06:58:12
-0000 1.3
--- CryptographicUnexpectedOperationException.cs 7 Apr 2003 04:22:52
-0000 1.4
***************
*** 27,30 ****
--- 27,31 ----
using System;
+ using System.Runtime.Serialization;
public class CryptographicUnexpectedOperationException :
CryptographicException
***************
*** 42,45 ****
--- 43,49 ----
(String format, String insert)
: base(String.Format(format, insert)) {}
+ protected CryptographicUnexpectedOperationException
+ (SerializationInfo info, StreamingContext
context)
+ : base(info, context) {}
// Get the default message to use for this exception type.
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Dotgnu-pnet-commits] CVS: pnetlib/runtime/System/Security/Cryptography CryptographicException.cs,1.3,1.4 CryptographicUnexpectedOperationException.cs,1.3,1.4,
Rhys Weatherley <address@hidden> <=