Class BadResponseException

  • All Implemented Interfaces:
    java.io.Serializable
    Direct Known Subclasses:
    BadResponseCodeException

    public class BadResponseException
    extends ProtocolException
    Thrown when we the response from the Dropbox server isn't something we expect. For example, if the JSON returned by the server is malformed or missing fields.
    See Also:
    Serialized Form
    • Constructor Summary

      Constructors 
      Constructor Description
      BadResponseException​(java.lang.String requestId, java.lang.String message)  
      BadResponseException​(java.lang.String requestId, java.lang.String message, java.lang.Throwable cause)  
    • Method Summary

      • Methods inherited from class java.lang.Throwable

        addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
    • Constructor Detail

      • BadResponseException

        public BadResponseException​(java.lang.String requestId,
                                    java.lang.String message)
      • BadResponseException

        public BadResponseException​(java.lang.String requestId,
                                    java.lang.String message,
                                    java.lang.Throwable cause)