EncryptionException.cs 566 B

1234567891011121314151617181920212223242526272829
  1. #if !BESTHTTP_DISABLE_ALTERNATE_SSL && (!UNITY_WEBGL || UNITY_EDITOR)
  2. #pragma warning disable
  3. using System;
  4. using System.IO;
  5. namespace BestHTTP.SecureProtocol.Org.BouncyCastle.Security
  6. {
  7. #if !(NETCF_1_0 || NETCF_2_0 || SILVERLIGHT || PORTABLE || NETFX_CORE)
  8. [Serializable]
  9. #endif
  10. public class EncryptionException
  11. : IOException
  12. {
  13. public EncryptionException(
  14. string message)
  15. : base(message)
  16. {
  17. }
  18. public EncryptionException(
  19. string message,
  20. Exception exception)
  21. : base(message, exception)
  22. {
  23. }
  24. }
  25. }
  26. #pragma warning restore
  27. #endif