public interface SftpErrorStatusDataHandler
Modifier and Type | Field and Description |
---|---|
static SftpErrorStatusDataHandler |
DEFAULT |
Modifier and Type | Method and Description |
---|---|
default String |
resolveErrorLanguage(SftpSubsystemEnvironment sftpSubsystem,
int id,
Throwable e,
int subStatus,
int cmd,
Object... args) |
default String |
resolveErrorMessage(SftpSubsystemEnvironment sftpSubsystem,
int id,
Throwable e,
int subStatus,
int cmd,
Object... args) |
default int |
resolveSubStatus(SftpSubsystemEnvironment sftpSubsystem,
int id,
Throwable e,
int cmd,
Object... args) |
static final SftpErrorStatusDataHandler DEFAULT
default int resolveSubStatus(SftpSubsystemEnvironment sftpSubsystem, int id, Throwable e, int cmd, Object... args)
sftpSubsystem
- The SFTP subsystem instanceid
- The command identifiere
- Thrown exceptioncmd
- The command that was attemptedargs
- The relevant command arguments - Note: provided only for logging purposes and
subject to type and/or order change at any versionSftpHelper.resolveSubstatus(Throwable)
default String resolveErrorMessage(SftpSubsystemEnvironment sftpSubsystem, int id, Throwable e, int subStatus, int cmd, Object... args)
sftpSubsystem
- The SFTP subsystem instanceid
- The command identifiere
- Thrown exceptionsubStatus
- The sub-status code obtained from invocation of
resolveSubStatus
cmd
- The command that was attemptedargs
- The relevant command arguments - Note: provided only for logging purposes and
subject to type and/or order change at any versionSftpHelper.resolveStatusMessage(int)
default String resolveErrorLanguage(SftpSubsystemEnvironment sftpSubsystem, int id, Throwable e, int subStatus, int cmd, Object... args)
sftpSubsystem
- The SFTP subsystem instanceid
- The command identifiere
- Thrown exceptionsubStatus
- The sub-status code obtained from invocation of
resolveSubStatus
cmd
- The command that was attemptedargs
- The relevant command arguments - Note: provided only for logging purposes and
subject to type and/or order change at any versionCopyright © 2008–2024 The Apache Software Foundation. All rights reserved.