/** * GET a URI using client object. * This method overrides the default behavior of Zend_Gdata_App, * providing support for Zend_Gdata_GApps_ServiceException. * * @param string $uri GET URI * @param array $extraHeaders Extra headers to add to the request, as an * array of string-based key/value pairs. * @throws \Zend\GData\App\HttpException * @throws \Zend\GData\GApps\ServiceException * @return \Zend\HTTP\Response\Response */ public function get($uri, $extraHeaders = array()) { try { return parent::get($uri, $extraHeaders); } catch (App\HttpException $e) { self::throwServiceExceptionIfDetected($e); } }