SecurityUtilityException.cs 746 B

123456789101112131415161718192021222324252627282930313233343536
  1. using System;
  2. namespace Renci.SshNet.Security.Org.BouncyCastle.Security
  3. {
  4. #if FEATURE_BINARY_SERIALIZATION
  5. [Serializable]
  6. #endif
  7. internal class SecurityUtilityException
  8. : Exception
  9. {
  10. /**
  11. * base constructor.
  12. */
  13. public SecurityUtilityException()
  14. {
  15. }
  16. /**
  17. * create a SecurityUtilityException with the given message.
  18. *
  19. * @param message the message to be carried with the exception.
  20. */
  21. public SecurityUtilityException(
  22. string message)
  23. : base(message)
  24. {
  25. }
  26. public SecurityUtilityException(
  27. string message,
  28. Exception exception)
  29. : base(message, exception)
  30. {
  31. }
  32. }
  33. }