public static enum RelocationError.Tag extends java.lang.Enum<RelocationError.Tag>
RelocationError
.Enum Constant and Description |
---|
CANT_COPY_SHARED_FOLDER
Shared folders can't be copied.
|
CANT_MOVE_FOLDER_INTO_ITSELF
You cannot move a folder into itself.
|
CANT_MOVE_INTO_VAULT
Some content cannot be moved into Vault under certain circumstances,
see detailed error.
|
CANT_MOVE_SHARED_FOLDER
Can't move the shared folder to the given destination.
|
CANT_NEST_SHARED_FOLDER
Your move operation would result in nested shared folders.
|
CANT_TRANSFER_OWNERSHIP
Your move operation would result in an ownership transfer.
|
DUPLICATED_OR_NESTED_PATHS
There are duplicated/nested paths among
RelocationArg.getFromPath() and RelocationArg.getToPath() . |
FROM_LOOKUP |
FROM_WRITE |
INSUFFICIENT_QUOTA
The current user does not have enough space to move or copy the
files.
|
INTERNAL_ERROR
Something went wrong with the job on Dropbox's end.
|
OTHER
Catch-all used for unknown tag values returned by the Dropbox
servers.
|
TO |
TOO_MANY_FILES
The operation would involve more than 10,000 files and folders.
|
Modifier and Type | Method and Description |
---|---|
static RelocationError.Tag |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static RelocationError.Tag[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final RelocationError.Tag FROM_LOOKUP
public static final RelocationError.Tag FROM_WRITE
public static final RelocationError.Tag TO
public static final RelocationError.Tag CANT_COPY_SHARED_FOLDER
public static final RelocationError.Tag CANT_NEST_SHARED_FOLDER
public static final RelocationError.Tag CANT_MOVE_FOLDER_INTO_ITSELF
public static final RelocationError.Tag TOO_MANY_FILES
public static final RelocationError.Tag DUPLICATED_OR_NESTED_PATHS
RelocationArg.getFromPath()
and RelocationArg.getToPath()
.public static final RelocationError.Tag CANT_TRANSFER_OWNERSHIP
RelocationArg.getAllowOwnershipTransfer()
to true.public static final RelocationError.Tag INSUFFICIENT_QUOTA
public static final RelocationError.Tag INTERNAL_ERROR
public static final RelocationError.Tag CANT_MOVE_SHARED_FOLDER
public static final RelocationError.Tag CANT_MOVE_INTO_VAULT
public static final RelocationError.Tag OTHER
Receiving a catch-all value typically indicates this SDK version is not up to date. Consider updating your SDK version to handle the new tags.
public static RelocationError.Tag[] values()
for (RelocationError.Tag c : RelocationError.Tag.values()) System.out.println(c);
public static RelocationError.Tag 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 null