public enum PaperDocUpdateError extends java.lang.Enum<PaperDocUpdateError>
| Enum Constant and Description |
|---|
CONTENT_MALFORMED
The provided content was malformed and cannot be imported to Paper.
|
DOC_ARCHIVED
This operation is not allowed on archived Paper docs.
|
DOC_DELETED
This operation is not allowed on deleted Paper docs.
|
DOC_LENGTH_EXCEEDED
The newly created Paper doc would be too large, split the content into
multiple docs.
|
DOC_NOT_FOUND
The required doc was not 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.
|
REVISION_MISMATCH
The provided revision does not match the document head.
|
| Modifier and Type | Method and Description |
|---|---|
static PaperDocUpdateError |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static PaperDocUpdateError[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final PaperDocUpdateError INSUFFICIENT_PERMISSIONS
public static final PaperDocUpdateError 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 PaperDocUpdateError DOC_NOT_FOUND
public static final PaperDocUpdateError CONTENT_MALFORMED
public static final PaperDocUpdateError REVISION_MISMATCH
public static final PaperDocUpdateError DOC_LENGTH_EXCEEDED
public static final PaperDocUpdateError IMAGE_SIZE_EXCEEDED
public static final PaperDocUpdateError DOC_ARCHIVED
public static final PaperDocUpdateError DOC_DELETED
public static PaperDocUpdateError[] values()
for (PaperDocUpdateError c : PaperDocUpdateError.values()) System.out.println(c);
public static PaperDocUpdateError 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