| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748 |
- //
- // System.Security.Cryptography.CryptographicException.cs
- //
- // Author:
- // Thomas Neidhart ([email protected])
- //
- using System;
- using System.Runtime.Serialization;
- namespace System.Security.Cryptography {
- [Serializable]
- public class CryptographicException : SystemException {
- // Constructors
- public CryptographicException ()
- : base ("Error occured during a cryptographic operation.")
- {
- }
- public CryptographicException (int hr)
- {
- HResult = hr;
- }
- public CryptographicException (string message)
- : base (message)
- {
- }
- public CryptographicException (string message, Exception inner)
- : base (message, inner)
- {
- }
- public CryptographicException (string format, string insert)
- : base (String.Format(format, insert))
- {
- }
- protected CryptographicException (SerializationInfo info, StreamingContext context)
- : base (info, context)
- {
- }
- }
- }
|