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:
java.io.Serializable
public class BadResponseCodeException extends BadResponseException
Thrown when the Dropbox server responds with an HTTP status code we didn't expect.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description BadResponseCodeException(java.lang.String requestId, java.lang.String message, int statusCode)
BadResponseCodeException(java.lang.String requestId, java.lang.String message, int statusCode, java.lang.Throwable cause)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description int
getStatusCode()
Returns HTTP status code received from the Dropbox server.-
Methods inherited from class com.dropbox.core.DbxException
getRequestId
-
-
-
-
Constructor Detail
-
BadResponseCodeException
public BadResponseCodeException(java.lang.String requestId, java.lang.String message, int statusCode)
-
BadResponseCodeException
public BadResponseCodeException(java.lang.String requestId, java.lang.String message, int statusCode, java.lang.Throwable cause)
-
-