1 files changed, 18 insertions, 16 deletions
diff --git a/crypto/src/cms/CMSAttributeTableGenerationException.cs b/crypto/src/cms/CMSAttributeTableGenerationException.cs
index 692be2804..977d60e5c 100644
--- a/crypto/src/cms/CMSAttributeTableGenerationException.cs
+++ b/crypto/src/cms/CMSAttributeTableGenerationException.cs
@@ -1,28 +1,30 @@
using System;
+using System.Runtime.Serialization;
namespace Org.BouncyCastle.Cms
{
-#if !PORTABLE
[Serializable]
-#endif
public class CmsAttributeTableGenerationException
: CmsException
{
- public CmsAttributeTableGenerationException()
- {
- }
+ public CmsAttributeTableGenerationException()
+ : base()
+ {
+ }
- public CmsAttributeTableGenerationException(
- string name)
- : base(name)
- {
- }
+ public CmsAttributeTableGenerationException(string message)
+ : base(message)
+ {
+ }
- public CmsAttributeTableGenerationException(
- string name,
- Exception e)
- : base(name, e)
- {
- }
+ public CmsAttributeTableGenerationException(string message, Exception innerException)
+ : base(message, innerException)
+ {
+ }
+
+ protected CmsAttributeTableGenerationException(SerializationInfo info, StreamingContext context)
+ : base(info, context)
+ {
+ }
}
}
|