From c93dea756e9ebb17b69865443d02b8607fd88925 Mon Sep 17 00:00:00 2001 From: "massimiliano.assante" Date: Thu, 6 Jun 2013 16:52:03 +0000 Subject: [PATCH] minor refactor for catching an exception git-svn-id: http://svn.research-infrastructures.eu/public/d4science/gcube/trunk/application-support-layer/applicationSupportLayerSocial@76833 82a268e6-3cf1-43bd-a215-b396298e98cf --- .../social/ApplicationNotificationsManager.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/org/gcube/applicationsupportlayer/social/ApplicationNotificationsManager.java b/src/main/java/org/gcube/applicationsupportlayer/social/ApplicationNotificationsManager.java index 9848c3c..257bba0 100644 --- a/src/main/java/org/gcube/applicationsupportlayer/social/ApplicationNotificationsManager.java +++ b/src/main/java/org/gcube/applicationsupportlayer/social/ApplicationNotificationsManager.java @@ -64,7 +64,7 @@ public class ApplicationNotificationsManager extends SocialPortalBridge implemen List channels = null; try { channels = getStoreInstance().getUserNotificationChannels(notification2Save.getUserid(), notification2Save.getType()); - } catch (NotificationChannelTypeNotFoundException e) { + } catch (Exception e) { e.printStackTrace(); } boolean result = false;