Пример #1
0
	/**
	 * @throws ProblemaAcessoDadosException
	 */
	public function listarTodosClientes() {
		try {

			return parent::findAll(new Cliente());
			
		} catch (\Exception $e) {
			$msgLogger = self::MSG_PROBLEMA_LISTAR . FacilLogger::gerarLogException($ex);
			FacilLogger::getLogger()->error($msgLogger);
			throw new ProblemaAcessoDadosException(self::MSG_PROBLEMA_BUSCAR);
		}
	}