ScpException.cs 1.1 KB

1234567891011121314151617181920212223242526272829303132333435363738394041
  1. using System;
  2. using System.Collections.Generic;
  3. using System.Linq;
  4. using System.Text;
  5. namespace Renci.SshNet.Common
  6. {
  7. /// <summary>
  8. /// The exception that is thrown when SCP error occurred.
  9. /// </summary>
  10. public partial class ScpException : SshException
  11. {
  12. /// <summary>
  13. /// Initializes a new instance of the <see cref="ScpException"/> class.
  14. /// </summary>
  15. public ScpException()
  16. {
  17. }
  18. /// <summary>
  19. /// Initializes a new instance of the <see cref="ScpException"/> class.
  20. /// </summary>
  21. /// <param name="message">The message.</param>
  22. public ScpException(string message)
  23. : base(message)
  24. {
  25. }
  26. /// <summary>
  27. /// Initializes a new instance of the <see cref="ScpException"/> class.
  28. /// </summary>
  29. /// <param name="message">The message.</param>
  30. /// <param name="innerException">The inner exception.</param>
  31. public ScpException(string message, Exception innerException) :
  32. base(message, innerException)
  33. {
  34. }
  35. }
  36. }