Package com.dropbox.core
Class DbxException
java.lang.Object
java.lang.Throwable
java.lang.Exception
com.dropbox.core.DbxException
- All Implemented Interfaces:
Serializable
- Direct Known Subclasses:
AccessErrorException,DbxApiException,DbxOAuthException,InvalidAccessTokenException,NetworkIOException,PathRootErrorException,ProtocolException,RetryException,ServerException
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 Summary
ConstructorsConstructorDescriptionDbxException(String message) DbxException(String requestId, String message) DbxException(String requestId, String message, Throwable cause) DbxException(String message, Throwable cause) -
Method Summary
Modifier and TypeMethodDescriptionReturn 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
-
Constructor Details
-
DbxException
-
DbxException
-
DbxException
-
DbxException
-
-
Method Details
-
getRequestId
Return the unique ID associated with the request that triggered this exception.The ID may be
nullif we could not receive a response from the Dropbox servers (e.g. from aNetworkIOException).Please use this ID when filing bug reports.
- Returns:
- unique ID associated with the request that caused this exception, or
nullif one is not available.
-