Class SftpException

All Implemented Interfaces:
Serializable

public class SftpException extends SshConnectionException
Exception thrown when SFTP operations fail. This includes file transfer errors, directory operations, and SFTP session errors.
See Also:
  • Constructor Details

    • SftpException

      public SftpException(String message)
      Constructs a new SFTP exception with the specified detail message.
      Parameters:
      message - the detail message
    • SftpException

      public SftpException(String message, Throwable cause)
      Constructs a new SFTP exception with the specified detail message and cause.
      Parameters:
      message - the detail message
      cause - the cause of this exception
    • SftpException

      public SftpException(Throwable cause)
      Constructs a new SFTP exception with the specified cause.
      Parameters:
      cause - the cause of this exception