Enum Class PaperCreateError

java.lang.Object
java.lang.Enum<PaperCreateError>
com.dropbox.core.v2.files.PaperCreateError
All Implemented Interfaces:
Serializable, Comparable<PaperCreateError>, Constable

public enum PaperCreateError extends Enum<PaperCreateError>
  • Enum Constant Details

    • INSUFFICIENT_PERMISSIONS

      public static final PaperCreateError INSUFFICIENT_PERMISSIONS
      Your account does not have permissions to edit Paper docs.
    • CONTENT_MALFORMED

      public static final PaperCreateError CONTENT_MALFORMED
      The provided content was malformed and cannot be imported to Paper.
    • DOC_LENGTH_EXCEEDED

      public static final PaperCreateError DOC_LENGTH_EXCEEDED
      The Paper doc would be too large, split the content into multiple docs.
    • IMAGE_SIZE_EXCEEDED

      public 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.
    • OTHER

      public 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_PATH

      public static final PaperCreateError INVALID_PATH
      The file could not be saved to the specified location.
    • EMAIL_UNVERIFIED

      public static final PaperCreateError EMAIL_UNVERIFIED
      The user's email must be verified to create Paper docs.
    • INVALID_FILE_EXTENSION

      public static final PaperCreateError INVALID_FILE_EXTENSION
      The file path must end in .paper.
    • PAPER_DISABLED

      public static final PaperCreateError PAPER_DISABLED
      Paper is disabled for your team.
  • Method Details

    • values

      public static PaperCreateError[] 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

      public static PaperCreateError valueOf(String name)
      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 name
      NullPointerException - if the argument is null