| 1 | <?php |
||
| 22 | class CURLRequestCallException extends AbstractCURLException { |
||
| 23 | |||
| 24 | /** |
||
| 25 | * cURL response. |
||
| 26 | * |
||
| 27 | * @var CURLResponse |
||
| 28 | */ |
||
| 29 | private $response; |
||
| 30 | |||
| 31 | /** |
||
| 32 | * Constructor. |
||
| 33 | * |
||
| 34 | * @param string $message The message. |
||
| 35 | * @param int $code The code. |
||
| 36 | * @param CURLResponse $response The response. |
||
| 37 | */ |
||
| 38 | public function __construct($message, $code, CURLResponse $response) { |
||
| 42 | |||
| 43 | /** |
||
| 44 | * Get the response. |
||
| 45 | * |
||
| 46 | * @return CURLResponse Returns the cURL response. |
||
| 47 | */ |
||
| 48 | public function getResponse() { |
||
| 51 | |||
| 52 | /** |
||
| 53 | * Set the response. |
||
| 54 | * |
||
| 55 | * @param CURLResponse $response The response. |
||
| 56 | * @return CURLRequestCallException Returns this cURL request call exception. |
||
| 57 | */ |
||
| 58 | protected function setResponse(CURLResponse $response) { |
||
| 62 | |||
| 63 | } |
||
| 64 |