changed comments.
git-svn-id: https://svn.apache.org/repos/asf/felix/trunk@957550 13f79535-47bb-0310-9956-ffa450edef68
diff --git a/dependencymanager/runtime/src/main/java/org/apache/felix/dm/runtime/ServiceLifecycleHandler.java b/dependencymanager/runtime/src/main/java/org/apache/felix/dm/runtime/ServiceLifecycleHandler.java
index 880f591..3b3b2e5 100644
--- a/dependencymanager/runtime/src/main/java/org/apache/felix/dm/runtime/ServiceLifecycleHandler.java
+++ b/dependencymanager/runtime/src/main/java/org/apache/felix/dm/runtime/ServiceLifecycleHandler.java
@@ -197,15 +197,10 @@
{
// ignore this
}
- catch (InvocationTargetException e) {
- // TODO should we log this?
- // the method itself threw an exception, log that
-// m_logger.log(Logger.LOG_WARNING, "Invocation of '" + methodName + "' failed.", e.getCause());
- }
- catch (Exception e) {
- // TODO should we log this?
-// m_logger.log(Logger.LOG_WARNING, "Could not invoke '" + methodName + "'.", e);
- }
+
+ // Other exception will be thrown up to the ServiceImpl.invokeCallbackMethod(), which is
+ // currently invoking our method. So, no need to log something here, since the invokeCallbackMethod
+ // method is already logging any thrown exception.
}
return null;
}