public void Executa() { var configuracao = new Configuracao(); var executou = false; while (!executou) { try { executou = true; } catch (Exception exception) { LogErro.Registrar(exception.Message); } } }