public static enum LockFileError.Tag extends java.lang.Enum<LockFileError.Tag>
LockFileError
.Enum Constant and Description |
---|
CANNOT_BE_LOCKED
Item is a type that cannot be locked.
|
FILE_NOT_SHARED
Requested file is not currently shared.
|
INTERNAL_ERROR
Something went wrong with the job on Dropbox's end.
|
LOCK_CONFLICT
The user action conflicts with an existing lock on the file.
|
NO_WRITE_PERMISSION
The user does not have permissions to change the lock state or access
the file.
|
OTHER
Catch-all used for unknown tag values returned by the Dropbox
servers.
|
PATH_LOOKUP
Could not find the specified resource.
|
TOO_MANY_FILES
There are too many files in one request.
|
TOO_MANY_WRITE_OPERATIONS
There are too many write operations in user's Dropbox.
|
Modifier and Type | Method and Description |
---|---|
static LockFileError.Tag |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static LockFileError.Tag[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final LockFileError.Tag PATH_LOOKUP
public static final LockFileError.Tag TOO_MANY_WRITE_OPERATIONS
public static final LockFileError.Tag TOO_MANY_FILES
public static final LockFileError.Tag NO_WRITE_PERMISSION
public static final LockFileError.Tag CANNOT_BE_LOCKED
public static final LockFileError.Tag FILE_NOT_SHARED
public static final LockFileError.Tag LOCK_CONFLICT
public static final LockFileError.Tag INTERNAL_ERROR
public static final LockFileError.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 LockFileError.Tag[] values()
for (LockFileError.Tag c : LockFileError.Tag.values()) System.out.println(c);
public static LockFileError.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