Package com.dropbox.core.v2.files
Enum Class PaperCreateError
- All Implemented Interfaces:
Serializable,Comparable<PaperCreateError>,Constable
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionThe provided content was malformed and cannot be imported to Paper.The Paper doc would be too large, split the content into multiple docs.The user's email must be verified to create Paper docs.The imported document contains an image that is too large.Your account does not have permissions to edit Paper docs.The file path must end in .paper.The file could not be saved to the specified location.Catch-all used for unknown tag values returned by the Dropbox servers.Paper is disabled for your team. -
Method Summary
Modifier and TypeMethodDescriptionstatic PaperCreateErrorReturns the enum constant of this class with the specified name.static PaperCreateError[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
INSUFFICIENT_PERMISSIONS
Your account does not have permissions to edit Paper docs. -
CONTENT_MALFORMED
The provided content was malformed and cannot be imported to Paper. -
DOC_LENGTH_EXCEEDED
The Paper doc would be too large, split the content into multiple docs. -
IMAGE_SIZE_EXCEEDED
The imported document contains an image that is too large. The current limit is 1MB. This only applies to HTML with data URI. -
OTHER
Catch-all used for unknown tag values returned by the Dropbox servers.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.
-
INVALID_PATH
The file could not be saved to the specified location. -
EMAIL_UNVERIFIED
The user's email must be verified to create Paper docs. -
INVALID_FILE_EXTENSION
The file path must end in .paper. -
PAPER_DISABLED
Paper is disabled for your team.
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)- Parameters:
name- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException- if this enum class has no constant with the specified nameNullPointerException- if the argument is null
-