Package com.dropbox.core.v2.files
Enum PaperCreateError
- java.lang.Object
- 
- java.lang.Enum<PaperCreateError>
- 
- com.dropbox.core.v2.files.PaperCreateError
 
 
- 
- All Implemented Interfaces:
- java.io.Serializable,- java.lang.Comparable<PaperCreateError>
 
 public enum PaperCreateError extends java.lang.Enum<PaperCreateError> 
- 
- 
Enum Constant SummaryEnum Constants Enum Constant Description CONTENT_MALFORMEDThe provided content was malformed and cannot be imported to Paper.DOC_LENGTH_EXCEEDEDThe Paper doc would be too large, split the content into multiple docs.EMAIL_UNVERIFIEDThe user's email must be verified to create Paper docs.IMAGE_SIZE_EXCEEDEDThe imported document contains an image that is too large.INSUFFICIENT_PERMISSIONSYour account does not have permissions to edit Paper docs.INVALID_FILE_EXTENSIONThe file path must end in .paper.INVALID_PATHThe file could not be saved to the specified location.OTHERCatch-all used for unknown tag values returned by the Dropbox servers.PAPER_DISABLEDPaper is disabled for your team.
 - 
Method SummaryAll Methods Static Methods Concrete Methods Modifier and Type Method Description static PaperCreateErrorvalueOf(java.lang.String name)Returns the enum constant of this type with the specified name.static PaperCreateError[]values()Returns an array containing the constants of this enum type, in the order they are declared.
 
- 
- 
- 
Enum Constant Detail- 
INSUFFICIENT_PERMISSIONSpublic static final PaperCreateError INSUFFICIENT_PERMISSIONS Your account does not have permissions to edit Paper docs.
 - 
CONTENT_MALFORMEDpublic static final PaperCreateError CONTENT_MALFORMED The provided content was malformed and cannot be imported to Paper.
 - 
DOC_LENGTH_EXCEEDEDpublic static final PaperCreateError DOC_LENGTH_EXCEEDED The Paper doc would be too large, split the content into multiple docs.
 - 
IMAGE_SIZE_EXCEEDEDpublic static final PaperCreateError 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.
 - 
OTHERpublic static final PaperCreateError 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_PATHpublic static final PaperCreateError INVALID_PATH The file could not be saved to the specified location.
 - 
EMAIL_UNVERIFIEDpublic static final PaperCreateError EMAIL_UNVERIFIED The user's email must be verified to create Paper docs.
 - 
INVALID_FILE_EXTENSIONpublic static final PaperCreateError INVALID_FILE_EXTENSION The file path must end in .paper.
 - 
PAPER_DISABLEDpublic static final PaperCreateError PAPER_DISABLED Paper is disabled for your team.
 
- 
 - 
Method Detail- 
valuespublic static PaperCreateError[] values() Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (PaperCreateError c : PaperCreateError.values()) System.out.println(c); - Returns:
- an array containing the constants of this enum type, in the order they are declared
 
 - 
valueOfpublic static PaperCreateError valueOf(java.lang.String name) Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (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:
- java.lang.IllegalArgumentException- if this enum type has no constant with the specified name
- java.lang.NullPointerException- if the argument is null
 
 
- 
 
-