Http/Client/Adapter/Exception.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 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_Http
- Subpackage
- Client_Adapter_Exception
- Version
- $Id: Exception.php 24593 2012-01-05 20:35:02Z matthew $
\Zend_Http_Client_Adapter_Exception
Package: Zend\Http\Client\Adapter
Parameters
Returns



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

null|\Exception $_previous = nullinheritedInherited from:
\Zend_Exception::$$_previous\Zend_Http_Exception::$$_previous\Zend_Http_Client_Exception::$$_previous
Default value
nullDetails- Type
- null | \Exception
- Inherited_from
- \Zend_Exception::$$_previous
- Inherited_from
- \Zend_Http_Exception::$$_previous
- Inherited_from
- \Zend_Http_Client_Exception::$$_previous
Methods

__call(string $method, array $args) : mixedinherited
Overloading
Inherited from: \Zend_Exception::__call()\Zend_Http_Exception::__call()\Zend_Http_Client_Exception::__call()For PHP < 5.3.0, provides access to the getPrevious() method.
| Name | Type | Description |
|---|---|---|
| $method | string | |
| $args | array |
| Type | Description |
|---|---|
| mixed |

__construct(string $msg = '', int $code = 0, \Exception $previous = null) : voidinherited
Construct the exception
Inherited from: \Zend_Exception::__construct()\Zend_Http_Exception::__construct()\Zend_Http_Client_Exception::__construct()Parameters
| Name | Type | Description |
|---|---|---|
| $msg | string | |
| $code | int | |
| $previous | \Exception |

__toString() : stringinherited
String representation of the exception
Inherited from: \Zend_Exception::__toString()\Zend_Http_Exception::__toString()\Zend_Http_Client_Exception::__toString()Returns
| Type | Description |
|---|---|
| string |

_getPrevious() : \Exception | nullinherited
Returns previous Exception
Inherited from: \Zend_Exception::_getPrevious()\Zend_Http_Exception::_getPrevious()\Zend_Http_Client_Exception::_getPrevious()Returns
| Type | Description |
|---|---|
| \Exception | null |