public static enum SyncException.SyncError extends java.lang.Enum<SyncException.SyncError>
Enum Constant and Description |
---|
BUFFER_OVERRUN
receiving too much data from the remove device at once
|
CANCELED
canceled transfer
|
FILE_READ_ERROR
error while reading local file.
|
FILE_WRITE_ERROR
error while writing local file.
|
LOCAL_IS_DIRECTORY
attempting to push a directory.
|
NO_DIR_TARGET
Result code when attempting to pull multiple into a directory that does not exist.
|
NO_LOCAL_FILE
attempting to push a non-existent file.
|
NO_REMOTE_OBJECT
unknown remote object during a pull
|
REMOTE_IS_FILE
when the target path of a multi file push is a file.
|
REMOTE_PATH_ENCODING
wrong encoding on the remote path.
|
REMOTE_PATH_LENGTH
remote path that is too long.
|
TARGET_IS_FILE
Result code when attempting to pull multiple files into a file
|
TRANSFER_PROTOCOL_ERROR
Transfer error
|
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getMessage() |
static SyncException.SyncError |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static SyncException.SyncError[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final SyncException.SyncError CANCELED
public static final SyncException.SyncError TRANSFER_PROTOCOL_ERROR
public static final SyncException.SyncError NO_REMOTE_OBJECT
public static final SyncException.SyncError TARGET_IS_FILE
public static final SyncException.SyncError NO_DIR_TARGET
public static final SyncException.SyncError REMOTE_PATH_ENCODING
public static final SyncException.SyncError REMOTE_PATH_LENGTH
public static final SyncException.SyncError FILE_READ_ERROR
public static final SyncException.SyncError FILE_WRITE_ERROR
public static final SyncException.SyncError LOCAL_IS_DIRECTORY
public static final SyncException.SyncError NO_LOCAL_FILE
public static final SyncException.SyncError REMOTE_IS_FILE
public static final SyncException.SyncError BUFFER_OVERRUN
public static SyncException.SyncError[] values()
for (SyncException.SyncError c : SyncException.SyncError.values()) System.out.println(c);
public static SyncException.SyncError valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is nullpublic java.lang.String getMessage()