felix-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From clem...@apache.org
Subject svn commit: r1639578 - /felix/trunk/ipojo/handler/whiteboard/whiteboard-handler/src/main/java/org/apache/felix/ipojo/handler/wbp/WhiteBoardManager.java
Date Fri, 14 Nov 2014 08:03:58 GMT
Author: clement
Date: Fri Nov 14 08:03:56 2014
New Revision: 1639578

URL: http://svn.apache.org/r1639578
Log:
Fix FELIX-4693

Modified:
    felix/trunk/ipojo/handler/whiteboard/whiteboard-handler/src/main/java/org/apache/felix/ipojo/handler/wbp/WhiteBoardManager.java

Modified: felix/trunk/ipojo/handler/whiteboard/whiteboard-handler/src/main/java/org/apache/felix/ipojo/handler/wbp/WhiteBoardManager.java
URL: http://svn.apache.org/viewvc/felix/trunk/ipojo/handler/whiteboard/whiteboard-handler/src/main/java/org/apache/felix/ipojo/handler/wbp/WhiteBoardManager.java?rev=1639578&r1=1639577&r2=1639578&view=diff
==============================================================================
--- felix/trunk/ipojo/handler/whiteboard/whiteboard-handler/src/main/java/org/apache/felix/ipojo/handler/wbp/WhiteBoardManager.java
(original)
+++ felix/trunk/ipojo/handler/whiteboard/whiteboard-handler/src/main/java/org/apache/felix/ipojo/handler/wbp/WhiteBoardManager.java
Fri Nov 14 08:03:56 2014
@@ -114,8 +114,8 @@ public class WhiteBoardManager implement
             m_handler.error("The onArrival method " + m_onArrival.getMethod() + " cannot
be invoked", e);
             m_handler.getInstanceManager().stop();
         } catch (InvocationTargetException e) {
-            m_handler.error("The onArrival method " + m_onArrival.getMethod() + " has thrown
an exception", e.getTargetException());
-            m_handler.getInstanceManager().stop();
+            m_handler.error("The onArrival method " + m_onArrival.getMethod() + " has thrown
an exception", e
+                    .getTargetException());
         }
     }
 
@@ -147,7 +147,6 @@ public class WhiteBoardManager implement
                 m_handler.getInstanceManager().stop();
             } catch (InvocationTargetException e) {
                 m_handler.error("The onModification method " + m_onModification.getMethod()
+ " has thrown an exception", e.getTargetException());
-                m_handler.getInstanceManager().stop();
             }
         }
     }
@@ -169,7 +168,6 @@ public class WhiteBoardManager implement
             m_handler.getInstanceManager().stop();
         } catch (InvocationTargetException e) {
             m_handler.error("The onDeparture method " + m_onDeparture.getMethod() + " has
thrown an exception", e.getTargetException());
-            m_handler.getInstanceManager().stop();
         }
     }
 



Mime
View raw message