diff options
Diffstat (limited to 'crypto/src/cmp/CmpException.cs')
-rw-r--r-- | crypto/src/cmp/CmpException.cs | 17 |
1 files changed, 6 insertions, 11 deletions
diff --git a/crypto/src/cmp/CmpException.cs b/crypto/src/cmp/CmpException.cs index 2237b453d..7573c034f 100644 --- a/crypto/src/cmp/CmpException.cs +++ b/crypto/src/cmp/CmpException.cs @@ -1,26 +1,21 @@ using System; -#if !PORTABLE -using System.Runtime.Serialization; -#endif namespace Org.BouncyCastle.Cmp { - public class CmpException : Exception + public class CmpException + : Exception { public CmpException() { } - public CmpException(string message) : base(message) - { - } - - public CmpException(string message, Exception innerException) : base(message, innerException) + public CmpException(string message) + : base(message) { } -#if !PORTABLE - protected CmpException(SerializationInfo info, StreamingContext context) : base(info, context) + public CmpException(string message, Exception innerException) + : base(message, innerException) { } #endif |