public enum GenericErrorTag extends java.lang.Enum<GenericErrorTag>
| Enum Constant and Description |
|---|
DOC_NOT_FOUND
Doc could not be found based on the supplied doc ID.
|
INVALID_ARGUMENT
Invalid argument supplied.
|
OTHER
Catch-all used for unknown tag values returned by the Dropbox servers.
|
PERMISSION_DENIED
User does not have access to the specified doc.
|
UNAUTHENTICATED
User is unauthenticated.
|
| Modifier and Type | Method and Description |
|---|---|
static GenericErrorTag |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static GenericErrorTag[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final GenericErrorTag INVALID_ARGUMENT
public static final GenericErrorTag UNAUTHENTICATED
public static final GenericErrorTag PERMISSION_DENIED
public static final GenericErrorTag DOC_NOT_FOUND
public static final GenericErrorTag 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 GenericErrorTag[] values()
for (GenericErrorTag c : GenericErrorTag.values()) System.out.println(c);
public static GenericErrorTag 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