[tasque/transition: 32/213] Remove unused Exception declarations
- From: Antonius Riha <antoniusri src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [tasque/transition: 32/213] Remove unused Exception declarations
- Date: Wed, 29 Aug 2012 18:36:43 +0000 (UTC)
commit ba6521f3aa86dd1638fcd3b4404f776b8e430b1b
Author: Antonius Riha <antoniusriha gmail com>
Date: Fri May 25 01:40:49 2012 +0200
Remove unused Exception declarations
src/tasque/Backends/Hiveminder/HmBackend.cs | 2 +-
.../Backends/Hiveminder/HmPreferencesWidget.cs | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/src/tasque/Backends/Hiveminder/HmBackend.cs b/src/tasque/Backends/Hiveminder/HmBackend.cs
index 89417a0..d791b03 100644
--- a/src/tasque/Backends/Hiveminder/HmBackend.cs
+++ b/src/tasque/Backends/Hiveminder/HmBackend.cs
@@ -292,7 +292,7 @@ namespace Tasque.Backends.HmBackend
configFile.Close();
- } catch (Exception e) {
+ } catch {
return false;
}
diff --git a/src/tasque/Backends/Hiveminder/HmPreferencesWidget.cs b/src/tasque/Backends/Hiveminder/HmPreferencesWidget.cs
index 8c08346..6ae4699 100644
--- a/src/tasque/Backends/Hiveminder/HmPreferencesWidget.cs
+++ b/src/tasque/Backends/Hiveminder/HmPreferencesWidget.cs
@@ -97,7 +97,7 @@ namespace Tasque.Backends.HmBackend
try {
Hiveminder.Hiveminder hm = new Hiveminder.Hiveminder(username, password);
- } catch (Exception e) {
+ } catch {
authButton.Label = "Try Again";
}
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]