|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjava.lang.Throwable
java.lang.Exception
com.maverick.sftp.SftpStatusException
This exception is thrown by the SftpSubsystemChannel
class whenever
a status message is received that is not expected. This would normally indicate
a failure of the operation, for example with a no such file status being returned.
Field Summary | |
static int |
INVALID_HANDLE
The file handle provided was invalid |
static int |
INVALID_RESUME_STATE
The file cannot be resumed |
static int |
INVALID_TEXT_MODE
The server reported a canonical newline convention not supported by this API |
static int |
SSH_FX_BAD_MESSAGE
The client sent a bad protocol message |
static int |
SSH_FX_CONNECTION_LOST
The file system connection was lost |
static int |
SSH_FX_EOF
The file or listing is EOF |
static int |
SSH_FX_FAILURE
Generic failure code |
static int |
SSH_FX_FILE_ALREADY_EXISTS
|
static int |
SSH_FX_INVALID_HANDLE
The file handle provided was invalid |
static int |
SSH_FX_NO_CONNECTION
There is no connection to the file system |
static int |
SSH_FX_NO_MEDIA
|
static int |
SSH_FX_NO_SUCH_FILE
No such file was found |
static int |
SSH_FX_NO_SUCH_PATH
|
static int |
SSH_FX_OK
Everything performed correctly |
static int |
SSH_FX_OP_UNSUPPORTED
The operation requested is not supported |
static int |
SSH_FX_PERMISSION_DENIED
The user does not have permission |
static int |
SSH_FX_WRITE_PROTECT
|
Constructor Summary | |
SftpStatusException(int status)
|
|
SftpStatusException(int status,
java.lang.String msg)
|
Method Summary | |
int |
getStatus()
Get the status |
Methods inherited from class java.lang.Throwable |
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
public static final int SSH_FX_OK
public static final int SSH_FX_EOF
public static final int SSH_FX_NO_SUCH_FILE
public static final int SSH_FX_PERMISSION_DENIED
public static final int SSH_FX_FAILURE
public static final int SSH_FX_BAD_MESSAGE
public static final int SSH_FX_NO_CONNECTION
public static final int SSH_FX_CONNECTION_LOST
public static final int SSH_FX_OP_UNSUPPORTED
public static final int SSH_FX_INVALID_HANDLE
public static final int SSH_FX_NO_SUCH_PATH
public static final int SSH_FX_FILE_ALREADY_EXISTS
public static final int SSH_FX_WRITE_PROTECT
public static final int SSH_FX_NO_MEDIA
public static final int INVALID_HANDLE
public static final int INVALID_RESUME_STATE
public static final int INVALID_TEXT_MODE
Constructor Detail |
public SftpStatusException(int status, java.lang.String msg)
public SftpStatusException(int status)
Method Detail |
public int getStatus()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |