_httpClientException = $e; $this->_response = $response; parent::__construct($message); } /** * Get the Zend_Http_Client_Exception. * * @return Zend_Http_Client_Exception */ public function getHttpClientException() { return $this->_httpClientException; } /** * Set the Zend_Http_Client_Exception. * * @param Zend_Http_Client_Exception $value */ public function setHttpClientException($value) { $this->_httpClientException = $value; return $this; } /** * Set the Zend_Http_Response. * * @param Zend_Http_Response $response */ public function setResponse($response) { $this->_response = $response; return $this; } /** * Get the Zend_Http_Response. * * @return Zend_Http_Response */ public function getResponse() { return $this->_response; } /** * Get the body of the Zend_Http_Response * * @return string */ public function getRawResponseBody() { if ($this->getResponse()) { $response = $this->getResponse(); return $response->getRawBody(); } return null; } }