SecurityUtilityException.cs 839 B

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