2013-05-08 21:42:13 +00:00
|
|
|
<?php
|
|
|
|
|
|
|
|
namespace GeoIP2\Exception;
|
|
|
|
|
|
|
|
class WebserviceException extends HttpException
|
|
|
|
{
|
2013-05-09 14:29:29 +00:00
|
|
|
public $httpStatus;
|
2013-05-08 21:42:13 +00:00
|
|
|
|
2013-05-09 14:29:29 +00:00
|
|
|
public function __construct(
|
|
|
|
$message,
|
|
|
|
$code,
|
|
|
|
$httpStatus,
|
|
|
|
$uri,
|
|
|
|
Exception $previous = null
|
|
|
|
) {
|
|
|
|
$this->httpStatus = $httpStatus;
|
|
|
|
parent::__construct($message, $code, $uri, $previous);
|
|
|
|
}
|
|
|
|
}
|