예제 #1
0
파일: Gapps.php 프로젝트: alab1001101/zf2
 /**
  * Imports a feed located at $uri.
  * This method overrides the default behavior of Zend_Gdata_App,
  * providing support for Zend_Gdata_GApps_ServiceException.
  *
  * @param  string $uri
  * @param  \Zend\HTTP\Client $client (optional) The client used for
  *          communication
  * @param  string $className (optional) The class which is used as the
  *          return type
  * @throws \Zend\GData\App\Exception
  * @throws \Zend\GData\App\HttpException
  * @throws \Zend\GData\GApps\ServiceException
  * @return \Zend\GData\App\Feed
  */
 public static function import($uri, $client = null, $className = '\\Zend\\GData\\App\\Feed')
 {
     try {
         return parent::import($uri, $client, $className);
     } catch (App\HttpException $e) {
         self::throwServiceExceptionIfDetected($e);
     }
 }