Package com.dropbox.core
Class BadResponseCodeException
java.lang.Object
java.lang.Throwable
java.lang.Exception
com.dropbox.core.DbxException
com.dropbox.core.ProtocolException
com.dropbox.core.BadResponseException
com.dropbox.core.BadResponseCodeException
- All Implemented Interfaces:
Serializable
Thrown when the Dropbox server responds with an HTTP status code we didn't expect.
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionBadResponseCodeException(String requestId, String message, int statusCode) BadResponseCodeException(String requestId, String message, int statusCode, Throwable cause) -
Method Summary
Modifier and TypeMethodDescriptionintReturns HTTP status code received from the Dropbox server.Methods inherited from class com.dropbox.core.DbxException
getRequestIdMethods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
BadResponseCodeException
-
BadResponseCodeException
-
-
Method Details
-
getStatusCode
public int getStatusCode()Returns HTTP status code received from the Dropbox server.- Returns:
- HTTP status code returned by Dropbox server
-