<!DOCTYPE html> <html> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <meta name="generator" content="ApiGen 2.8.0" /> <title>Class GeoIp2\Exception\HttpException | GeoIP2 PHP API v0.6.1</title> <script type="text/javascript" src="resources/combined.js?394153670"></script> <script type="text/javascript" src="elementlist.js?1800964632"></script> <link rel="stylesheet" type="text/css" media="all" href="resources/style.css?3505392360" /> </head> <body> <div id="left"> <div id="menu"> <a href="index.html" title="Overview"><span>Overview</span></a> <div id="groups"> <h3>Namespaces</h3> <ul> <li class="active"><a href="namespace-GeoIp2.html">GeoIp2<span></span></a> <ul> <li><a href="namespace-GeoIp2.Database.html">Database</a> </li> <li class="active"><a href="namespace-GeoIp2.Exception.html">Exception</a> </li> <li><a href="namespace-GeoIp2.Model.html">Model</a> </li> <li><a href="namespace-GeoIp2.Record.html">Record</a> </li> <li><a href="namespace-GeoIp2.WebService.html">WebService</a> </li> </ul></li> <li><a href="namespace-PHP.html">PHP</a> </li> </ul> </div> <hr /> <div id="elements"> <h3>Exceptions</h3> <ul> <li><a href="class-GeoIp2.Exception.AddressNotFoundException.html">AddressNotFoundException</a></li> <li><a href="class-GeoIp2.Exception.AuthenticationException.html">AuthenticationException</a></li> <li><a href="class-GeoIp2.Exception.GeoIp2Exception.html">GeoIp2Exception</a></li> <li class="active"><a href="class-GeoIp2.Exception.HttpException.html">HttpException</a></li> <li><a href="class-GeoIp2.Exception.InvalidRequestException.html">InvalidRequestException</a></li> <li><a href="class-GeoIp2.Exception.OutOfQueriesException.html">OutOfQueriesException</a></li> </ul> </div> </div> </div> <div id="splitter"></div> <div id="right"> <div id="rightInner"> <form id="search"> <input type="hidden" name="cx" value="" /> <input type="hidden" name="ie" value="UTF-8" /> <input type="text" name="q" class="text" /> <input type="submit" value="Search" /> </form> <div id="navigation"> <ul> <li> <a href="index.html" title="Overview"><span>Overview</span></a> </li> <li> <a href="namespace-GeoIp2.Exception.html" title="Summary of GeoIp2\Exception"><span>Namespace</span></a> </li> <li class="active"> <span>Class</span> </li> </ul> <ul> <li> <a href="tree.html" title="Tree view of classes, interfaces, traits and exceptions"><span>Tree</span></a> </li> </ul> <ul> <li> <a href="geoip2-php-api-v0-6-1-api-documentation.zip" title="Download documentation as ZIP archive"><span>Download</span></a> </li> </ul> </div> <div id="content" class="class"> <h1>Class HttpException</h1> <div class="description"> <p>This class represents an HTTP transport error.</p> </div> <dl class="tree"> <dd style="padding-left:0px"> <a href="class-Exception.html"><span>Exception</span></a> </dd> <dd style="padding-left:30px"> <img src="resources/inherit.png" alt="Extended by" /> <a href="class-GeoIp2.Exception.GeoIp2Exception.html"><span>GeoIp2\Exception\GeoIp2Exception</span></a> </dd> <dd style="padding-left:60px"> <img src="resources/inherit.png" alt="Extended by" /> <b><span>GeoIp2\Exception\HttpException</span></b> </dd> </dl> <div> <h4>Direct known subclasses</h4> <a href="class-GeoIp2.Exception.InvalidRequestException.html">GeoIp2\Exception\InvalidRequestException</a> </div> <div class="info"> <b>Namespace:</b> <a href="namespace-GeoIp2.html">GeoIp2</a>\<a href="namespace-GeoIp2.Exception.html">Exception</a><br /> <b>Located at</b> <a href="source-class-GeoIp2.Exception.HttpException.html#6-25" title="Go to source code">GeoIp2/Exception/HttpException.php</a><br /> </div> <table class="summary" id="methods"> <caption>Methods summary</caption> <tr data-order="__construct" id="___construct"> <td class="attributes"><code> public </code> </td> <td class="name"><div> <a class="anchor" href="#___construct">#</a> <code><a href="source-class-GeoIp2.Exception.HttpException.html#16-24" title="Go to source code">__construct</a>( <span>mixed <var>$message</var></span>, <span>mixed <var>$httpStatus</var></span>, <span>mixed <var>$uri</var></span>, <span><code><a href="class-Exception.html">Exception</a></code> <var>$previous</var> = <span class="php-keyword1">null</span> </span> )</code> <div class="description short"> </div> <div class="description detailed hidden"> <h4>Overrides</h4> <div class="list"><code><a href="class-Exception.html#___construct">Exception::__construct()</a></code></div> </div> </div></td> </tr> </table> <table class="summary inherited"> <caption>Methods inherited from <a href="class-Exception.html#methods">Exception</a></caption> <tr> <td><code> <a href="class-Exception.html#___toString">__toString()</a>, <a href="class-Exception.html#_getCode">getCode()</a>, <a href="class-Exception.html#_getFile">getFile()</a>, <a href="class-Exception.html#_getLine">getLine()</a>, <a href="class-Exception.html#_getMessage">getMessage()</a>, <a href="class-Exception.html#_getPrevious">getPrevious()</a>, <a href="class-Exception.html#_getTrace">getTrace()</a>, <a href="class-Exception.html#_getTraceAsString">getTraceAsString()</a> </code></td> </tr> </table> <table class="summary" id="properties"> <caption>Properties summary</caption> <tr data-order="uri" id="$uri"> <td class="attributes"><code> public mixed </code></td> <td class="name"> <a href="source-class-GeoIp2.Exception.HttpException.html#11-14" title="Go to source code"><var>$uri</var></a> </td> <td class="value"><code></code></td> <td class="description"><div> <a href="#$uri" class="anchor">#</a> <div class="description short"> <p>The URI queried</p> </div> <div class="description detailed hidden"> <p>The URI queried</p> </div> </div></td> </tr> </table> <table class="summary inherited"> <caption>Properties inherited from <a href="class-Exception.html#properties">Exception</a></caption> <tr> <td><code> <a href="class-Exception.html#$code"><var>$code</var></a>, <a href="class-Exception.html#$file"><var>$file</var></a>, <a href="class-Exception.html#$line"><var>$line</var></a>, <a href="class-Exception.html#$message"><var>$message</var></a> </code></td> </tr> </table> </div> <div id="footer"> GeoIP2 PHP API v0.6.1 API documentation generated by <a href="http://apigen.org">ApiGen 2.8.0</a> </div> </div> </div> </body> </html>