public static enum SftpConstants.ErrorCode extends Enum<SftpConstants.ErrorCode>
Modifier and Type | Method and Description |
---|---|
static SftpConstants.ErrorCode |
fromByte(byte b) |
byte |
toByte() |
static SftpConstants.ErrorCode |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static SftpConstants.ErrorCode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final SftpConstants.ErrorCode SSH_FX_OK
public static final SftpConstants.ErrorCode SSH_FX_EOF
public static final SftpConstants.ErrorCode SSH_FX_NO_SUCH_FILE
public static final SftpConstants.ErrorCode SSH_FX_PERMISSION_DENIED
public static final SftpConstants.ErrorCode SSH_FX_FAILURE
public static final SftpConstants.ErrorCode SSH_FX_BAD_MESSAGE
public static final SftpConstants.ErrorCode SSH_FX_NO_CONNECTION
public static final SftpConstants.ErrorCode SSH_FX_CONNECTION_LOST
public static final SftpConstants.ErrorCode SSH_FX_OP_UNSUPPORTED
public static final SftpConstants.ErrorCode SSH_FX_INVALID_HANDLE
public static final SftpConstants.ErrorCode SSH_FX_NO_SUCH_PATH
public static final SftpConstants.ErrorCode SSH_FX_FILE_ALREADY_EXISTS
public static final SftpConstants.ErrorCode SSH_FX_WRITE_PROTECT
public static final SftpConstants.ErrorCode SSH_FX_NO_MEDIA
public static final SftpConstants.ErrorCode SSH_FX_NO_SPACE_ON_FILESYSTEM
public static final SftpConstants.ErrorCode SSH_FX_QUOTA_EXCEEDED
public static final SftpConstants.ErrorCode SSH_FX_UNKNOWN_PRINCIPAL
public static final SftpConstants.ErrorCode SSH_FX_LOCK_CONFLICT
public static final SftpConstants.ErrorCode SSH_FX_DIR_NOT_EMPTY
public static final SftpConstants.ErrorCode SSH_FX_NOT_A_DIRECTORY
public static final SftpConstants.ErrorCode SSH_FX_INVALID_FILENAME
public static final SftpConstants.ErrorCode SSH_FX_LINK_LOOP
public static final SftpConstants.ErrorCode SSH_FX_CANNOT_DELETE
public static final SftpConstants.ErrorCode SSH_FX_INVALID_PARAMETER
public static final SftpConstants.ErrorCode SSH_FX_FILE_IS_A_DIRECTORY
public static final SftpConstants.ErrorCode SSH_FX_BYTE_RANGE_LOCK_CONFLICT
public static final SftpConstants.ErrorCode SSH_FX_BYTE_RANGE_LOCK_REFUSED
public static final SftpConstants.ErrorCode SSH_FX_DELETE_PENDING
public static final SftpConstants.ErrorCode SSH_FX_FILE_CORRUPT
public static final SftpConstants.ErrorCode SSH_FX_OWNER_INVALID
public static final SftpConstants.ErrorCode SSH_FX_GROUP_INVALID
public static final SftpConstants.ErrorCode SSH_FX_NO_MATCHING_BYTE_RANGE_LOCK
public static SftpConstants.ErrorCode[] values()
for (SftpConstants.ErrorCode c : SftpConstants.ErrorCode.values()) System.out.println(c);
public static SftpConstants.ErrorCode valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullpublic byte toByte()
public static SftpConstants.ErrorCode fromByte(byte b)
Copyright © 2008-2014 The Apache Software Foundation. All Rights Reserved.