Package com.dropbox.core
Class DbxException
- java.lang.Object
- 
- java.lang.Throwable
- 
- java.lang.Exception
- 
- com.dropbox.core.DbxException
 
 
 
- 
- All Implemented Interfaces:
- java.io.Serializable
 - Direct Known Subclasses:
- AccessErrorException,- DbxApiException,- DbxOAuthException,- InvalidAccessTokenException,- NetworkIOException,- PathRootErrorException,- ProtocolException,- RetryException,- ServerException
 
 public class DbxException extends java.lang.ExceptionThe base exception thrown by Dropbox API calls. Normally, you'll need to do something specific forInvalidAccessTokenExceptionand possibly forRetryException. The rest you should probably just log and investigate manually.- See Also:
- Serialized Form
 
- 
- 
Constructor SummaryConstructors 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 SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.StringgetRequestId()Return the unique ID associated with the request that triggered this exception.
 
- 
- 
- 
Constructor Detail- 
DbxExceptionpublic DbxException(java.lang.String message) 
 - 
DbxExceptionpublic DbxException(java.lang.String requestId, java.lang.String message)
 - 
DbxExceptionpublic DbxException(java.lang.String message, java.lang.Throwable cause)
 - 
DbxExceptionpublic DbxException(java.lang.String requestId, java.lang.String message, java.lang.Throwable cause)
 
- 
 - 
Method Detail- 
getRequestIdpublic java.lang.String 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.
 
 
- 
 
-