diff options
Diffstat (limited to 'crypto/src/security/SignatureException.cs')
-rw-r--r-- | crypto/src/security/SignatureException.cs | 28 |
1 files changed, 22 insertions, 6 deletions
diff --git a/crypto/src/security/SignatureException.cs b/crypto/src/security/SignatureException.cs index deaa23432..4bddc3d51 100644 --- a/crypto/src/security/SignatureException.cs +++ b/crypto/src/security/SignatureException.cs @@ -1,14 +1,30 @@ using System; +using System.Runtime.Serialization; namespace Org.BouncyCastle.Security { -#if !PORTABLE [Serializable] -#endif - public class SignatureException : GeneralSecurityException + public class SignatureException + : GeneralSecurityException { - public SignatureException() : base() { } - public SignatureException(string message) : base(message) { } - public SignatureException(string message, Exception exception) : base(message, exception) { } + public SignatureException() + : base() + { + } + + public SignatureException(string message) + : base(message) + { + } + + public SignatureException(string message, Exception innerException) + : base(message, innerException) + { + } + + protected SignatureException(SerializationInfo info, StreamingContext context) + : base(info, context) + { + } } } |