diff options
author | Peter Dettman <peter.dettman@bouncycastle.org> | 2022-06-24 15:07:29 +0700 |
---|---|---|
committer | Peter Dettman <peter.dettman@bouncycastle.org> | 2022-06-24 15:07:29 +0700 |
commit | b72579c4b1200459f959bcd6a25364e239420573 (patch) | |
tree | 5e566cc2b7972cd8ccebece92d879bddc800393d /crypto/src/pqc | |
parent | Remove certpath from PkixCertPathValidatorException (diff) | |
download | BouncyCastle.NET-ed25519-b72579c4b1200459f959bcd6a25364e239420573.tar.xz |
Cleanup Exception classes
Diffstat (limited to 'crypto/src/pqc')
-rw-r--r-- | crypto/src/pqc/crypto/lms/LMSException.cs | 34 |
1 files changed, 21 insertions, 13 deletions
diff --git a/crypto/src/pqc/crypto/lms/LMSException.cs b/crypto/src/pqc/crypto/lms/LMSException.cs index 5f8f7b9d9..c9c286b7f 100644 --- a/crypto/src/pqc/crypto/lms/LMSException.cs +++ b/crypto/src/pqc/crypto/lms/LMSException.cs @@ -1,22 +1,30 @@ using System; +using System.Runtime.Serialization; namespace Org.BouncyCastle.Pqc.Crypto.Lms { + [Serializable] public class LMSException : Exception { - public LMSException() - { - } + public LMSException() + : base() + { + } - public LMSException(string message) - : base(message) - { - } + public LMSException(string message) + : base(message) + { + } - public LMSException(string message, Exception cause) - : base(message, cause) - { - } - } -} \ No newline at end of file + public LMSException(string message, Exception innerException) + : base(message, innerException) + { + } + + protected LMSException(SerializationInfo info, StreamingContext context) + : base(info, context) + { + } + } +} |