| java.lang.Object java.lang.Throwable java.lang.Exception java.io.IOException ch.ethz.ssh2.SFTPException
SFTPException | public class SFTPException extends IOException (Code) | | Used in combination with the SFTPv3Client. This exception wraps
error messages sent by the SFTP server.
author: Christian Plattner, plattner@inf.ethz.ch version: $Id: SFTPException.java,v 1.6 2006/08/18 22:26:35 cplattne Exp $ |
SFTPException | SFTPException(String msg, int errorCode)(Code) | | |
getServerErrorCode | public int getServerErrorCode()(Code) | | Get the error code sent by the server.
an error code as defined in the SFTP specs. |
getServerErrorCodeSymbol | public String getServerErrorCodeSymbol()(Code) | | Get the symbolic name of the error code as given in the SFTP specs.
e.g., "SSH_FX_INVALID_FILENAME". |
getServerErrorCodeVerbose | public String getServerErrorCodeVerbose()(Code) | | Get the description of the error code as given in the SFTP specs.
e.g., "The filename is not valid." |
getServerErrorMessage | public String getServerErrorMessage()(Code) | | Get the error message sent by the server. Often, this
message does not help a lot (e.g., "failure").
the plain string as sent by the server. |
|
|