diff options
author | Roy Basmacier <roy.basmacier@keyfactor.com> | 2022-06-24 16:19:02 -0400 |
---|---|---|
committer | Roy Basmacier <roy.basmacier@keyfactor.com> | 2022-06-24 16:19:02 -0400 |
commit | 5ce0ecf7d31b462bd14c51a9e1f6514dc188c17c (patch) | |
tree | 9236aa449ab6b2c2142f3f8b0065078e125c2603 /crypto/src/security/SecurityUtilityException.cs | |
parent | sphincs plus v3.1 (diff) | |
parent | Refactoring (diff) | |
download | BouncyCastle.NET-ed25519-5ce0ecf7d31b462bd14c51a9e1f6514dc188c17c.tar.xz |
Merge remote-tracking branch 'origin/master'
Diffstat (limited to 'crypto/src/security/SecurityUtilityException.cs')
-rw-r--r-- | crypto/src/security/SecurityUtilityException.cs | 42 |
1 files changed, 18 insertions, 24 deletions
diff --git a/crypto/src/security/SecurityUtilityException.cs b/crypto/src/security/SecurityUtilityException.cs index d3f97c1a3..f10a7fbc5 100644 --- a/crypto/src/security/SecurityUtilityException.cs +++ b/crypto/src/security/SecurityUtilityException.cs @@ -1,36 +1,30 @@ using System; +using System.Runtime.Serialization; namespace Org.BouncyCastle.Security { -#if !PORTABLE [Serializable] -#endif public class SecurityUtilityException : Exception { - /** - * base constructor. - */ - public SecurityUtilityException() - { - } + public SecurityUtilityException() + : base() + { + } - /** - * create a SecurityUtilityException with the given message. - * - * @param message the message to be carried with the exception. - */ - public SecurityUtilityException( - string message) + public SecurityUtilityException(string message) : base(message) - { - } + { + } - public SecurityUtilityException( - string message, - Exception exception) - : base(message, exception) - { - } - } + public SecurityUtilityException(string message, Exception innerException) + : base(message, innerException) + { + } + + protected SecurityUtilityException(SerializationInfo info, StreamingContext context) + : base(info, context) + { + } + } } |