public enum PaperDocCreateError extends java.lang.Enum<PaperDocCreateError>
Enum Constant and Description |
---|
CONTENT_MALFORMED
The provided content was malformed and cannot be imported to Paper.
|
DOC_LENGTH_EXCEEDED
The newly created Paper doc would be too large.
|
FOLDER_NOT_FOUND
The specified Paper folder is cannot be found.
|
IMAGE_SIZE_EXCEEDED
The imported document contains an image that is too large.
|
INSUFFICIENT_PERMISSIONS
Your account does not have permissions to perform this action.
|
OTHER
Catch-all used for unknown tag values returned by the Dropbox servers.
|
Modifier and Type | Method and Description |
---|---|
static PaperDocCreateError |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static PaperDocCreateError[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final PaperDocCreateError INSUFFICIENT_PERMISSIONS
public static final PaperDocCreateError 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 final PaperDocCreateError CONTENT_MALFORMED
public static final PaperDocCreateError FOLDER_NOT_FOUND
public static final PaperDocCreateError DOC_LENGTH_EXCEEDED
public static final PaperDocCreateError IMAGE_SIZE_EXCEEDED
public static PaperDocCreateError[] values()
for (PaperDocCreateError c : PaperDocCreateError.values()) System.out.println(c);
public static PaperDocCreateError 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