Class 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 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

      • 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)
    • Method Detail

      • getStatusCode

        public int getStatusCode()
        Returns HTTP status code received from the Dropbox server.
        Returns:
        HTTP status code returned by Dropbox server