public class SftpStatusEventException extends EventException
Modifier and Type | Field and Description |
---|---|
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_BYTE_RANGE_LOCK_CONFLICT |
static int |
SSH_FX_BYTE_RANGE_LOCK_REFUSED |
static int |
SSH_FX_CANNOT_DELETE |
static int |
SSH_FX_CONNECTION_LOST
The file system connection was lost
|
static int |
SSH_FX_DELETE_PENDING |
static int |
SSH_FX_DIR_NOT_EMPTY |
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
The path already exists
|
static int |
SSH_FX_FILE_CORRUPT |
static int |
SSH_FX_FILE_IS_A_DIRECTORY |
static int |
SSH_FX_GROUP_INVALID |
static int |
SSH_FX_INVALID_FILENAME |
static int |
SSH_FX_INVALID_HANDLE
The file handle provided was invalid
|
static int |
SSH_FX_INVALID_PARAMETER |
static int |
SSH_FX_LINK_LOOP |
static int |
SSH_FX_LOCK_CONFLICT |
static int |
SSH_FX_NO_CONNECTION
There is no connection to the file system
|
static int |
SSH_FX_NO_MATCHING_BYTE_RANGE_LOCK |
static int |
SSH_FX_NO_MEDIA
There is no media available at the remote location
|
static int |
SSH_FX_NO_SPACE_ON_FILESYSTEM |
static int |
SSH_FX_NO_SUCH_FILE
No such file was found
|
static int |
SSH_FX_NO_SUCH_PATH
The path is invalid
|
static int |
SSH_FX_NOT_A_DIRECTORY |
static int |
SSH_FX_OK
Everything performed correctly
|
static int |
SSH_FX_OP_UNSUPPORTED
The operation requested is not supported
|
static int |
SSH_FX_OWNER_INVALID |
static int |
SSH_FX_PERMISSION_DENIED
The user does not have permission
|
static int |
SSH_FX_QUOTA_EXCEEDED |
static int |
SSH_FX_UNKNOWN_PRINCIPAL |
static int |
SSH_FX_WRITE_PROTECT
Cannot write to remote location
|
Constructor and Description |
---|
SftpStatusEventException(int status) |
SftpStatusEventException(int status,
String msg) |
Modifier and Type | Method and Description |
---|---|
int |
getStatus()
Get the status
|
static String |
getStatusText(int status)
Convert a SSH_FXP_STATUS code into a readable string
|
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
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 SSH_FX_NO_SPACE_ON_FILESYSTEM
public static final int SSH_FX_QUOTA_EXCEEDED
public static final int SSH_FX_UNKNOWN_PRINCIPAL
public static final int SSH_FX_LOCK_CONFLICT
public static final int SSH_FX_DIR_NOT_EMPTY
public static final int SSH_FX_NOT_A_DIRECTORY
public static final int SSH_FX_INVALID_FILENAME
public static final int SSH_FX_LINK_LOOP
public static final int SSH_FX_CANNOT_DELETE
public static final int SSH_FX_INVALID_PARAMETER
public static final int SSH_FX_FILE_IS_A_DIRECTORY
public static final int SSH_FX_BYTE_RANGE_LOCK_CONFLICT
public static final int SSH_FX_BYTE_RANGE_LOCK_REFUSED
public static final int SSH_FX_DELETE_PENDING
public static final int SSH_FX_FILE_CORRUPT
public static final int SSH_FX_OWNER_INVALID
public static final int SSH_FX_GROUP_INVALID
public static final int SSH_FX_NO_MATCHING_BYTE_RANGE_LOCK
public static final int INVALID_HANDLE
public static final int INVALID_RESUME_STATE
public static final int INVALID_TEXT_MODE
public SftpStatusEventException(int status, String msg)
public SftpStatusEventException(int status)
public int getStatus()
public static String getStatusText(int status)
status
- Copyright © 2024. All rights reserved.