| Modifier and Type | Field and Description |
|---|---|
| public static final SftpErrorStatusDataHandler |
| Modifier and Type | Method and Description |
|---|---|
| public default String | Returns: The error message language tag - recommend returning empty stringThe SFTP subsystem instance sftpSubsystem, int The command identifier id, Throwable Thrown exception e, int The sub-status code obtained from invocation of
subStatus, int resolveSubStatusThe command that was attempted cmd, Object... The relevant command arguments - Note: provided only for logging purposes and
subject to type and/or order change at any version args)
|
| public default String | Returns: The human readable text message that explains the failure reasonThe SFTP subsystem instance sftpSubsystem, int The command identifier id, Throwable Thrown exception e, int The sub-status code obtained from invocation of
subStatus, int resolveSubStatusThe command that was attempted cmd, Object... The relevant command arguments - Note: provided only for logging purposes and
subject to type and/or order change at any version args)
|
| public default int | Returns: The relevant sub-status to send as failure indication for the failed commandThe SFTP subsystem instance sftpSubsystem, int The command identifier id, Throwable Thrown exception e, int The command that was attempted cmd, Object... The relevant command arguments - Note: provided only for logging purposes and
subject to type and/or order change at any version args)
|
| DEFAULT | back to summary |
|---|---|
| public static final SftpErrorStatusDataHandler DEFAULT | |
| resolveErrorLanguage | back to summary |
|---|---|
public default String resolveErrorLanguage(SftpSubsystemEnvironment sftpSubsystem, int id, Throwable e, int subStatus, int cmd, Object... args)
| |
| resolveErrorMessage | back to summary |
|---|---|
public default String resolveErrorMessage(SftpSubsystemEnvironment sftpSubsystem, int id, Throwable e, int subStatus, int cmd, Object... args)
| |
| resolveSubStatus | back to summary |
|---|---|
public default int resolveSubStatus(SftpSubsystemEnvironment sftpSubsystem, int id, Throwable e, int cmd, Object... args)
| |