public class DbxException extends Exception
DbxException.InvalidAccessToken
and possibly for
DbxException.RetryLater
. The rest you should probably just log and investigate
manually.Modifier and Type | Class and Description |
---|---|
static class |
DbxException.BadRequest
This is what is thrown when the Dropbox server tells us that it didn't
like something about our request.
|
static class |
DbxException.BadResponse
Thrown when we the response from the Dropbox server isn't something we expect.
|
static class |
DbxException.BadResponseCode
Thrown when the Dropbox server responds with an HTTP status code we didn't expect.
|
static class |
DbxException.InvalidAccessToken
Gets thrown when the access token you're using to make API calls is invalid.
|
static class |
DbxException.NetworkIO
This is what gets thrown when there's an IOException when reading or writing
to the network (when communicating with the Dropbox API servers).
|
static class |
DbxException.ProtocolError
Something unexpected happened with either the request or the response.
|
static class |
DbxException.RetryLater
The server is overloaded, or you have hit a rate limit.
|
static class |
DbxException.ServerError
The server said that something went wrong on its end (HTTP 500 error code).
|
Modifier and Type | Field and Description |
---|---|
static long |
serialVersionUID |
Constructor and Description |
---|
DbxException(String message) |
DbxException(String message,
Throwable cause) |
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
public static final long serialVersionUID
Copyright © 2014. All rights reserved.