コード例 #1
0
 public function updateCompanyService()
 {
     try {
         return parent::updateCompanyServiceDraft();
     } catch (Exception $ex) {
         SS_Log::log($ex, SS_Log::ERR);
         return $this->serverError();
     }
 }
コード例 #2
0
 public function updateCompanyService()
 {
     try {
         return parent::updateCompanyServiceDraft();
     } catch (NonSupportedApiVersion $ex1) {
         SS_Log::log($ex1, SS_Log::ERR);
         return $this->validationError($ex1->getMessage());
     } catch (NonSupportedComponent $ex2) {
         SS_Log::log($ex2, SS_Log::ERR);
         return $this->validationError($ex2->getMessage());
     } catch (Exception $ex) {
         SS_Log::log($ex, SS_Log::ERR);
         return $this->serverError();
     }
 }