Enum WriteError.Tag

    • Enum Constant Summary

      Enum Constants 
      Enum Constant Description
      CONFLICT
      Couldn't write to the target path because there was something in the way.
      DISALLOWED_NAME
      Dropbox will not save the file or folder because of its name.
      INSUFFICIENT_SPACE
      The user doesn't have enough available space (bytes) to write more data.
      MALFORMED_PATH
      The given path does not satisfy the required path format.
      NO_WRITE_PERMISSION
      The user doesn't have permissions to write to the target location.
      OPERATION_SUPPRESSED
      This file operation is not allowed at this path.
      OTHER
      Catch-all used for unknown tag values returned by the Dropbox servers.
      TEAM_FOLDER
      This endpoint cannot move or delete team folders.
      TOO_MANY_WRITE_OPERATIONS
      There are too many write operations in user's Dropbox.
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static WriteError.Tag valueOf​(java.lang.String name)
      Returns the enum constant of this type with the specified name.
      static WriteError.Tag[] values()
      Returns an array containing the constants of this enum type, in the order they are declared.
      • Methods inherited from class java.lang.Enum

        clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
      • Methods inherited from class java.lang.Object

        getClass, notify, notifyAll, wait, wait, wait
    • Enum Constant Detail

      • CONFLICT

        public static final WriteError.Tag CONFLICT
        Couldn't write to the target path because there was something in the way.
      • NO_WRITE_PERMISSION

        public static final WriteError.Tag NO_WRITE_PERMISSION
        The user doesn't have permissions to write to the target location.
      • INSUFFICIENT_SPACE

        public static final WriteError.Tag INSUFFICIENT_SPACE
        The user doesn't have enough available space (bytes) to write more data.
      • DISALLOWED_NAME

        public static final WriteError.Tag DISALLOWED_NAME
        Dropbox will not save the file or folder because of its name.
      • TEAM_FOLDER

        public static final WriteError.Tag TEAM_FOLDER
        This endpoint cannot move or delete team folders.
      • OPERATION_SUPPRESSED

        public static final WriteError.Tag OPERATION_SUPPRESSED
        This file operation is not allowed at this path.
      • TOO_MANY_WRITE_OPERATIONS

        public static final WriteError.Tag TOO_MANY_WRITE_OPERATIONS
        There are too many write operations in user's Dropbox. Please retry this request.
      • OTHER

        public static final WriteError.Tag 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.

    • Method Detail

      • values

        public static WriteError.Tag[] 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 (WriteError.Tag c : WriteError.Tag.values())
            System.out.println(c);
        
        Returns:
        an array containing the constants of this enum type, in the order they are declared
      • valueOf

        public static WriteError.Tag 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