Class DbxException

All Implemented Interfaces:
Serializable
Direct Known Subclasses:
AccessErrorException, DbxApiException, DbxOAuthException, InvalidAccessTokenException, NetworkIOException, PathRootErrorException, ProtocolException, RetryException, ServerException

public class DbxException extends Exception
The base exception thrown by Dropbox API calls. Normally, you'll need to do something specific for InvalidAccessTokenException and possibly for RetryException. The rest you should probably just log and investigate manually.
See Also:
  • Constructor Details

    • DbxException

      public DbxException(String message)
    • DbxException

      public DbxException(String requestId, String message)
    • DbxException

      public DbxException(String message, Throwable cause)
    • DbxException

      public DbxException(String requestId, String message, Throwable cause)
  • Method Details

    • getRequestId

      public String getRequestId()
      Return the unique ID associated with the request that triggered this exception.

      The ID may be null if we could not receive a response from the Dropbox servers (e.g. from a NetworkIOException).

      Please use this ID when filing bug reports.

      Returns:
      unique ID associated with the request that caused this exception, or null if one is not available.