Gdata/App/HttpException.php

Show: PublicProtectedPrivateinherited
Table of Contents
Zend Framework

LICENSE

This source file is subject to the new BSD license that is bundled with this package in the file LICENSE.txt. It is also available through the world-wide-web at this URL: http://framework.zend.com/license/new-bsd If you did not receive a copy of the license and are unable to obtain it through the world-wide-web, please send an email to license@zend.com so we can send you a copy immediately.

Category
Zend  
Copyright
Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)  
License
New BSD License  
Package
Zend_Gdata  
Subpackage
App  
Version
$Id: HttpException.php 24593 2012-01-05 20:35:02Z matthew $  

\Zend_Gdata_App_HttpException

Package: Zend\Gdata\App
Gdata exceptions

Class to represent exceptions that occur during Gdata operations.

Parent(s)
\Zend_Gdata_App_Exception < \Zend_Exception < \Exception
Category
Zend  
Copyright
Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)  
License
New BSD License  

Properties

>VPropertyprotected$_httpClientException = null
Default valuenullDetails
Type
n/a
>VPropertyprivatenull|\Exception $_previous = null
Default valuenullDetails
Type
null | \Exception
Inherited_from
\Zend_Exception::$$_previous  
Inherited_from
\Zend_Gdata_App_Exception::$$_previous  
>VPropertyprotected$_response = null
Default valuenullDetails
Type
n/a

Methods

methodpublic__call(string $method, array $args) : mixed

For PHP < 5.3.0, provides access to the getPrevious() method.

Parameters
NameTypeDescription
$methodstring
$argsarray
Returns
TypeDescription
mixed
methodpublic__construct(string $message = null, \Zend_Http_Client_Exception $e = null, \Zend_Http_Response $response = null) : void

Create a new Zend_Gdata_App_HttpException

Parameters
NameTypeDescription
$messagestring

Optionally set a message

$e\Zend_Http_Client_Exception

Optionally pass in a Zend_Http_Client_Exception

$response\Zend_Http_Response

Optionally pass in a Zend_Http_Response

methodpublic__toString() : string
inherited

String representation of the exception

Inherited from: \Zend_Exception::__toString()\Zend_Gdata_App_Exception::__toString()
Returns
TypeDescription
string
methodprotected_getPrevious() : \Exception | null
inherited

Returns previous Exception

Inherited from: \Zend_Exception::_getPrevious()\Zend_Gdata_App_Exception::_getPrevious()
Returns
TypeDescription
\Exception | null
methodpublicgetHttpClientException() : \Zend_Http_Client_Exception

Get the Zend_Http_Client_Exception.

Returns
TypeDescription
\Zend_Http_Client_Exception
methodpublicgetRawResponseBody() : string

Get the body of the Zend_Http_Response

Returns
TypeDescription
string
methodpublicgetResponse() : \Zend_Http_Response

Get the Zend_Http_Response.

Returns
TypeDescription
\Zend_Http_Response
methodpublicsetHttpClientException(\Zend_Http_Client_Exception $value) : void

Set the Zend_Http_Client_Exception.

Parameters
NameTypeDescription
$value\Zend_Http_Client_Exception
methodpublicsetResponse(\Zend_Http_Response $response) : void

Set the Zend_Http_Response.

Parameters
NameTypeDescription
$response\Zend_Http_Response
Documentation was generated by phpDocumentor 2.0.0a12.