You are here

class HttpException in Smart IP 7.2

Same name in this branch
  1. 7.2 includes/vendor/maxmind/web-service-common/src/Exception/HttpException.php \MaxMind\Exception\HttpException
  2. 7.2 includes/vendor/geoip2/geoip2/src/Exception/HttpException.php \GeoIp2\Exception\HttpException
Same name and namespace in other branches
  1. 6.2 includes/vendor/geoip2/geoip2/src/Exception/HttpException.php \GeoIp2\Exception\HttpException

This class represents an HTTP transport error.

Hierarchy

Expanded class hierarchy of HttpException

1 file declares its use of HttpException
Client.php in includes/vendor/geoip2/geoip2/src/WebService/Client.php

File

includes/vendor/geoip2/geoip2/src/Exception/HttpException.php, line 9

Namespace

GeoIp2\Exception
View source
class HttpException extends GeoIp2Exception {

  /**
   * The URI queried
   */
  public $uri;
  public function __construct($message, $httpStatus, $uri, \Exception $previous = null) {
    $this->uri = $uri;
    parent::__construct($message, $httpStatus, $previous);
  }

}

Members

Namesort descending Modifiers Type Description Overrides
HttpException::$uri public property The URI queried
HttpException::__construct public function