public interface SftpErrorStatusDataHandler
Modifier and Type | Field and Description |
---|---|
static SftpErrorStatusDataHandler |
DEFAULT |
Modifier and Type | Method and Description |
---|---|
default java.lang.String |
resolveErrorLanguage(SftpSubsystemEnvironment sftpSubsystem,
int id,
java.lang.Throwable e,
int subStatus,
int cmd,
java.lang.Object... args) |
default java.lang.String |
resolveErrorMessage(SftpSubsystemEnvironment sftpSubsystem,
int id,
java.lang.Throwable e,
int subStatus,
int cmd,
java.lang.Object... args) |
default int |
resolveSubStatus(SftpSubsystemEnvironment sftpSubsystem,
int id,
java.lang.Throwable e,
int cmd,
java.lang.Object... args) |
static final SftpErrorStatusDataHandler DEFAULT
default int resolveSubStatus(SftpSubsystemEnvironment sftpSubsystem, int id, java.lang.Throwable e, int cmd, java.lang.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 java.lang.String resolveErrorMessage(SftpSubsystemEnvironment sftpSubsystem, int id, java.lang.Throwable e, int subStatus, int cmd, java.lang.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 java.lang.String resolveErrorLanguage(SftpSubsystemEnvironment sftpSubsystem, int id, java.lang.Throwable e, int subStatus, int cmd, java.lang.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 version