/** * @param Cliente $cliente * @throws ProblemaAcessoDadosException * @return Cliente $cliente */ public function atualizar(Cliente $cliente){ try{ return parent::update($cliente); }catch (\Exception $ex){ $msgLogger = self::MSG_PROBLEMA_ATUALIZAR . FacilLogger::gerarLogException($ex); FacilLogger::getLogger()->error($msgLogger); throw new ProblemaAcessoDadosException(self::MSG_PROBLEMA_ATUALIZAR); } }