Source for file Exception.php
Documentation is available at Exception.php
/* vim: set expandtab tabstop=4 shiftwidth=4 softtabstop=4: */
* This file is part of the PEAR Services_GeoNames package.
* LICENSE: This source file is subject to the MIT license that is available
* through the world-wide-web at the following URI:
* http://opensource.org/licenses/mit-license.php
* @package Services_GeoNames
* @author David JEAN LOUIS <izimobil@gmail.com>
* @copyright 2008 David JEAN LOUIS
* @license http://opensource.org/licenses/mit-license.php MIT License
* @version SVN: $Id: Exception.php,v 1.1 2008/12/19 13:44:50 izi Exp $
* @link http://pear.php.net/package/Services_GeoNames
* @link http://www.geonames.org/export/webservice-exception.html
* @since File available since release 0.1.0
* Include the PEAR_Exception class.
require_once 'PEAR/Exception.php';
* Base class for exceptions raised by the Services_GeoNames package.
* @package Services_GeoNames
* @author David JEAN LOUIS <izimobil@gmail.com>
* @copyright 2008 David JEAN LOUIS
* @license http://opensource.org/licenses/mit-license.php MIT License
* @version Release: 0.2.2
* @link http://pear.php.net/package/Services_GeoNames
* @link http://www.geonames.org/export/webservice-exception.html
* @since Class available since release 0.1.0
* Class for HTTP exceptions raised by the Services_GeoNames package.
* @package Services_GeoNames
* @author David JEAN LOUIS <izimobil@gmail.com>
* @copyright 2008 David JEAN LOUIS
* @license http://opensource.org/licenses/mit-license.php MIT License
* @version Release: 0.2.2
* @link http://pear.php.net/package/Services_GeoNames
* @link http://www.geonames.org/export/webservice-exception.html
* @since Class available since release 0.1.0
* HTTP_Request2_Response instance.
* @var HTTP_Request2_Response $response
* @param string $msg The exception message
* @param int|Exception $p2 Exception code or cause
* @param HTTP_Request2_Response $resp Optional request response
public function __construct($msg, $p2 = null , $resp = null )
parent ::__construct ($msg, $p2);
Documentation generated on Mon, 11 Mar 2019 15:27:58 -0400 by phpDocumentor 1.4.4. PEAR Logo Copyright © PHP Group 2004.
|