PluginProbe
JetBackup – Backup, Restore & Migrate / 1.4.6
JetBackup – Backup, Restore & Migrate v1.4.6
3.1.23.6 3.1.23.5 3.1.23.3 3.1.22.4 3.1.22.3 1.4.3 1.4.4 1.4.5 1.4.6 1.4.7 1.4.8 1.4.8.1 1.4.9 1.5.0 1.5.1 1.5.1.1 1.5.2 1.5.3 1.5.4 1.5.5 1.5.6 1.5.7 1.5.8 1.6.0 1.6.10 All 82 releases
backup / com / lib / Dropbox / Exception / BadResponseCode.php
BadResponseCode.php
34 lines 667 B
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
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