public class SFTPException
extends java.io.IOException
Modifier and Type | Field and Description |
---|---|
private static long |
serialVersionUID |
private int |
sftpErrorCode |
private java.lang.String |
sftpErrorMessage |
Constructor and Description |
---|
SFTPException(java.lang.String msg,
int errorCode) |
Modifier and Type | Method and Description |
---|---|
private static java.lang.String |
constructMessage(java.lang.String s,
int errorCode) |
int |
getServerErrorCode()
Get the error code sent by the server.
|
java.lang.String |
getServerErrorCodeSymbol()
Get the symbolic name of the error code as given in the SFTP specs.
|
java.lang.String |
getServerErrorCodeVerbose()
Get the description of the error code as given in the SFTP specs.
|
java.lang.String |
getServerErrorMessage()
Get the error message sent by the server.
|
private static final long serialVersionUID
private final java.lang.String sftpErrorMessage
private final int sftpErrorCode
private static java.lang.String constructMessage(java.lang.String s, int errorCode)
public java.lang.String getServerErrorMessage()
public int getServerErrorCode()
public java.lang.String getServerErrorCodeSymbol()
public java.lang.String getServerErrorCodeVerbose()