Overview

Classes

  • Dropbox\AccessToken
  • Dropbox\AccessType
  • Dropbox\AppInfo
  • Dropbox\AuthInfo
  • Dropbox\Client
  • Dropbox\Config
  • Dropbox\Path
  • Dropbox\RequestToken
  • Dropbox\Token
  • Dropbox\WebAuth
  • Dropbox\WriteMode

Exceptions

  • Dropbox\AppInfoLoadException
  • Dropbox\AuthInfoLoadException
  • Dropbox\DeserializeException
  • Dropbox\Exception
  • Dropbox\Exception_BadRequest
  • Dropbox\Exception_BadResponse
  • Dropbox\Exception_BadResponseCode
  • Dropbox\Exception_InvalidAccessToken
  • Dropbox\Exception_NetworkIO
  • Dropbox\Exception_ProtocolError
  • Dropbox\Exception_RetryLater
  • Dropbox\Exception_ServerError
  • Overview
  • Class
  • Tree
 1: <?php
 2: namespace Dropbox;
 3: 
 4: /**
 5:  * Thrown when the the Dropbox server responds with an HTTP status code we didn't expect.
 6:  */
 7: final class Exception_BadResponseCode extends Exception_BadResponse
 8: {
 9:     /** @var int */
10:     private $statusCode;
11: 
12:     /**
13:      * @param string $message
14:      * @param int $statusCode
15:      *
16:      * @internal
17:      */
18:     function __construct($message, $statusCode)
19:     {
20:         parent::__construct($message);
21:         $this->statusCode = $statusCode;
22:     }
23: 
24:     /**
25:      * The HTTP status code returned by the Dropbox server.
26:      *
27:      * @return int
28:      */
29:     public function getStatusCode()
30:     {
31:         return $this->statusCode;
32:     }
33: }
34: 
Dropbox SDK for PHP API documentation generated by ApiGen 2.8.0