Beispiel #1
0
	/**
	 * @throws ProblemaAcessoDadosException
	 * @return Cliente
	 */
	public function buscar(Cliente $cliente){
		try{
	
			return parent::find($cliente, $cliente->id);
	
		}catch (\Exception $ex){
			$msgLogger = self::MSG_PROBLEMA_BUSCAR . FacilLogger::gerarLogException($ex);
			FacilLogger::getLogger()->error($msgLogger);
			throw new ProblemaAcessoDadosException(self::MSG_PROBLEMA_BUSCAR);
		}
	}