Package com.dropbox.core
Class ProtocolException
java.lang.Object
java.lang.Throwable
java.lang.Exception
com.dropbox.core.DbxException
com.dropbox.core.ProtocolException
- All Implemented Interfaces:
Serializable
- Direct Known Subclasses:
BadRequestException,BadResponseException
Something unexpected happened with either the request or the response.
This can happen if there's a bug in the client code (including this
library), if there's a bug in on the Dropbox server, or if Dropbox
made a change to the API that changed the behavior of something and
we haven't upgraded our SDK yet.
Typically, these kinds of exceptions should be logged, so you can investigate later.
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionProtocolException(String requestId, String message) ProtocolException(String requestId, String message, Throwable cause) -
Method Summary
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
-
ProtocolException
-
ProtocolException
-