示例#1
0
文件: Gapps.php 项目: alab1001101/zf2
 /**
  * DELETE entry with client object
  * This method overrides the default behavior of Zend_Gdata_App,
  * providing support for Zend_Gdata_GApps_ServiceException.
  *
  * @param mixed $data The \Zend\GData\App\Entry or URL to delete
  * @param integer $remainingRedirects (optional)
  * @return void
  * @throws \Zend\GData\App\HttpException
  * @throws \Zend\GData\App\InvalidArgumentException
  * @throws \Zend\GData\GApps\ServiceException
  */
 public function delete($data, $remainingRedirects = null)
 {
     try {
         return parent::delete($data, $remainingRedirects);
     } catch (App\HttpException $e) {
         self::throwServiceExceptionIfDetected($e);
     }
 }