CMSException.cs 632 B

12345678910111213141516171819202122232425262728293031323334
  1. #if !BESTHTTP_DISABLE_ALTERNATE_SSL && (!UNITY_WEBGL || UNITY_EDITOR)
  2. #pragma warning disable
  3. using System;
  4. using System.Runtime.Serialization;
  5. namespace Best.HTTP.SecureProtocol.Org.BouncyCastle.Cms
  6. {
  7. [Serializable]
  8. public class CmsException
  9. : Exception
  10. {
  11. public CmsException()
  12. : base()
  13. {
  14. }
  15. public CmsException(string message)
  16. : base(message)
  17. {
  18. }
  19. public CmsException(string message, Exception innerException)
  20. : base(message, innerException)
  21. {
  22. }
  23. protected CmsException(SerializationInfo info, StreamingContext context)
  24. : base(info, context)
  25. {
  26. }
  27. }
  28. }
  29. #pragma warning restore
  30. #endif