SecurityUtilityException.cs 909 B

12345678910111213141516171819202122232425262728293031323334353637383940
  1. #if !BESTHTTP_DISABLE_ALTERNATE_SSL && (!UNITY_WEBGL || UNITY_EDITOR)
  2. #pragma warning disable
  3. using System;
  4. namespace BestHTTP.SecureProtocol.Org.BouncyCastle.Security
  5. {
  6. #if !(NETCF_1_0 || NETCF_2_0 || SILVERLIGHT || PORTABLE || NETFX_CORE)
  7. [Serializable]
  8. #endif
  9. public class SecurityUtilityException
  10. : Exception
  11. {
  12. /**
  13. * base constructor.
  14. */
  15. public SecurityUtilityException()
  16. {
  17. }
  18. /**
  19. * create a SecurityUtilityException with the given message.
  20. *
  21. * @param message the message to be carried with the exception.
  22. */
  23. public SecurityUtilityException(
  24. string message)
  25. : base(message)
  26. {
  27. }
  28. public SecurityUtilityException(
  29. string message,
  30. Exception exception)
  31. : base(message, exception)
  32. {
  33. }
  34. }
  35. }
  36. #pragma warning restore
  37. #endif