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:
java.io.Serializable
- Direct Known Subclasses:
BadRequestException
,BadResponseException
public abstract class ProtocolException extends DbxException
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:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description ProtocolException(java.lang.String requestId, java.lang.String message)
ProtocolException(java.lang.String requestId, java.lang.String message, java.lang.Throwable cause)
-
Method Summary
-
Methods inherited from class com.dropbox.core.DbxException
getRequestId
-
-