Modifier and Type | Class and Description |
---|---|
class |
DefaultFileSystemExceptionFactory
A default
FileSystemExceptionFactory that will return a NoSuchFileException if the id of the
SftpException is ChannelSftp.SSH_FX_NO_SUCH_FILE , an AccessDeniedException if it's
ChannelSftp.SSH_FX_PERMISSION_DENIED , or a FileSystemException otherwise, unless specified otherwise. |
Modifier and Type | Method and Description |
---|---|
SFTPEnvironment |
SFTPEnvironment.withFileSystemExceptionFactory(FileSystemExceptionFactory factory)
Stores the file system exception factory to use.
|
Copyright © 2016–2023. All rights reserved.