## API Documentation

# 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 license@zend.com so we can send you a copy immediately.

category
  Zend
copyright
  Copyright (c) 2005-2011 Zend Technologies USA Inc. (http://www.zend.com)
license
  New BSD License
package
  Zend_Gdata
subpackage
  App
version
  $Id: HttpException.php 23775 2011-03-01 17:25:24Z ralph $

## \Zend_Gdata_App_HttpException
jump to top

Gdata exceptions

Class to represent exceptions that occur during Gdata operations.

Extends from
  \Zend_Gdata_App_Exception
category
  Zend
copyright
  Copyright (c) 2005-2011 Zend Technologies USA Inc. (http://www.zend.com)
license
  New BSD License
package
  Zend_Gdata
subpackage
  App

### Properties

`$_httpClientException= 'null'`
Default value `null` Details

Type

`$_response= 'null'`
Default value `null` Details

Type

### Methods

`__call( string $method, array $args ) : mixed`

Overloading

Inherited from: \Zend_Exception::__call()

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

Parameters

Name | Type | Description
--- | --- | ---
$method | string |
$args | array |

Returns

Type | Description
--- | ---
mixed |

`__construct( string $message = null, \Zend_Http_Client_Exception $e = null, \Zend_Http_Response $response = null ) : void`

Create a new Zend_Gdata_App_HttpException

Parameters

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( ) : string`

String representation of the exception

Inherited from: \Zend_Exception::__toString()
Returns

Type | Description
--- | ---
string |

`_getPrevious( ) : \Exception|null`

Returns previous Exception

Inherited from: \Zend_Exception::_getPrevious()
Returns

Type | Description
--- | ---
\Exceptionnull |

`getCode( ) : void`
final

Inherited from:
`getFile( ) : void`
final

Inherited from:
`getHttpClientException( ) : \Zend_Http_Client_Exception`

Get the Zend_Http_Client_Exception.

Returns

Type | Description
--- | ---
\Zend_Http_Client_Exception |

`getLine( ) : void`
final

Inherited from:
`getMessage( ) : void`
final

Inherited from:
`getPrevious( ) : void`
final

Inherited from:
`getRawResponseBody( ) : string`

Get the body of the Zend_Http_Response

Returns

Type | Description
--- | ---
string |

`getResponse( ) : \Zend_Http_Response`

Get the Zend_Http_Response.

Returns

Type | Description
--- | ---
\Zend_Http_Response |

`getTrace( ) : void`
final

Inherited from:
`getTraceAsString( ) : void`
final

Inherited from:
`setHttpClientException( \Zend_Http_Client_Exception $value ) : void`

Set the Zend_Http_Client_Exception.

Parameters

Name | Type | Description
--- | --- | ---
$value | \Zend_Http_Client_Exception |

`setResponse( \Zend_Http_Response $response ) : void`

Set the Zend_Http_Response.

Parameters

Name | Type | Description
--- | --- | ---
$response | \Zend_Http_Response |

Documentation was generated by DocBlox 0.13.3.