Class LookupError

java.lang.Object
com.dropbox.core.v2.fileproperties.LookupError

public final class LookupError extends Object
This class is an open tagged union. Tagged unions instances are always associated to a specific tag. This means only one of the isAbc() methods will return true. You can use tag() to determine the tag associated with this instance.

Open unions may be extended in the future with additional tags. If a new tag is introduced that this SDK does not recognized, the OTHER value will be used.

  • Field Details

    • NOT_FOUND

      public static final LookupError NOT_FOUND
      There is nothing at the given path.
    • NOT_FILE

      public static final LookupError NOT_FILE
      We were expecting a file, but the given path refers to something that isn't a file.
    • NOT_FOLDER

      public static final LookupError NOT_FOLDER
      We were expecting a folder, but the given path refers to something that isn't a folder.
    • RESTRICTED_CONTENT

      public static final LookupError RESTRICTED_CONTENT
      The file cannot be transferred because the content is restricted. For example, we might restrict a file due to legal requirements.
    • OTHER

      public static final LookupError 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 Details