Class DbxException

    • Constructor Summary

      Constructors 
      Constructor Description
      DbxException​(java.lang.String message)  
      DbxException​(java.lang.String requestId, java.lang.String message)  
      DbxException​(java.lang.String requestId, java.lang.String message, java.lang.Throwable cause)  
      DbxException​(java.lang.String message, java.lang.Throwable cause)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.lang.String getRequestId()
      Return the unique ID associated with the request that triggered this exception.
      • Methods inherited from class java.lang.Throwable

        addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
    • Constructor Detail

      • DbxException

        public DbxException​(java.lang.String message)
      • DbxException

        public DbxException​(java.lang.String requestId,
                            java.lang.String message)
      • DbxException

        public DbxException​(java.lang.String message,
                            java.lang.Throwable cause)
      • DbxException

        public DbxException​(java.lang.String requestId,
                            java.lang.String message,
                            java.lang.Throwable cause)
    • Method Detail

      • getRequestId

        public java.lang.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.