# worker/4.0.1/src/Dropbox/Exception/BadResponseCode.php

ManageWP Worker, version 4.0.1. 33 lines.

- Page: https://pluginprobe.com/plugins/worker/4.0.1/code/src/Dropbox/Exception/BadResponseCode.php
- Raw: https://pluginprobe.com/plugins/worker/4.0.1/raw/src/Dropbox/Exception/BadResponseCode.php
- Modified: 2015-01-18T15:26:34+00:00

Line numbers below start at 1. Link to a line or a range by appending a fragment to the
page URL, for example `https://pluginprobe.com/plugins/worker/4.0.1/code/src/Dropbox/Exception/BadResponseCode.php#L10-L20`.

```php
<?php

/**
 * Thrown when the the Dropbox server responds with an HTTP status code we didn't expect.
 */
final class Dropbox_Exception_BadResponseCode extends Dropbox_Exception_BadResponse
{
    /** @var int */
    private $statusCode;

    /**
     * @param string $message
     * @param int    $statusCode
     *
     * @internal
     */
    public function __construct($message, $statusCode)
    {
        parent::__construct($message);
        $this->statusCode = $statusCode;
    }

    /**
     * The HTTP status code returned by the Dropbox server.
     *
     * @return int
     */
    public function getStatusCode()
    {
        return $this->statusCode;
    }
}

```
