Gdata/App/HttpException.php
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 [email protected] 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
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

null|\Exception $_previous = null
nullDetails- Type
- null | \Exception
- Inherited_from
- \Zend_Exception::$$_previous
- Inherited_from
- \Zend_Gdata_App_Exception::$$_previous
Methods

__call(string $method, array $args) : mixed
For PHP < 5.3.0, provides access to the getPrevious() method.
| Name | Type | Description |
|---|---|---|
| $method | string | |
| $args | array |
| Type | Description |
|---|---|
| mixed |

__construct(string $message = null, \Zend_Http_Client_Exception $e = null, \Zend_Http_Response $response = null) : voidCreate a new Zend_Gdata_App_HttpException
| Name | Type | Description |
|---|---|---|
| $message | string | 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 |

__toString() : stringString representation of the exception
Inherited from: \Zend_Exception::__toString()\Zend_Gdata_App_Exception::__toString()| Type | Description |
|---|---|
| string |

_getPrevious() : \Exception | nullReturns previous Exception
Inherited from: \Zend_Exception::_getPrevious()\Zend_Gdata_App_Exception::_getPrevious()| Type | Description |
|---|---|
| \Exception | null |

getHttpClientException() : \Zend_Http_Client_ExceptionGet the Zend_Http_Client_Exception.
| Type | Description |
|---|---|
| \Zend_Http_Client_Exception |

getPrevious() : void
getResponse() : \Zend_Http_ResponseGet the Zend_Http_Response.
| Type | Description |
|---|---|
| \Zend_Http_Response |

getTraceAsString() : void
setHttpClientException(\Zend_Http_Client_Exception $value) : voidSet the Zend_Http_Client_Exception.
| Name | Type | Description |
|---|---|---|
| $value | \Zend_Http_Client_Exception |

setResponse(\Zend_Http_Response $response) : voidSet the Zend_Http_Response.
| Name | Type | Description |
|---|---|---|
| $response | \Zend_Http_Response |