Author: vanto
Date: Sun Oct 21 11:44:13 2007
New Revision: 586931

URL: http://svn.apache.org/viewvc?rev=586931&view=rev
Log:
event listener may throw exceptions, even in 1.1

Modified:
    
ode/branches/APACHE_ODE_1.1/bpel-runtime/src/main/java/org/apache/ode/bpel/engine/BpelEngineImpl.java

Modified: 
ode/branches/APACHE_ODE_1.1/bpel-runtime/src/main/java/org/apache/ode/bpel/engine/BpelEngineImpl.java
URL: 
http://svn.apache.org/viewvc/ode/branches/APACHE_ODE_1.1/bpel-runtime/src/main/java/org/apache/ode/bpel/engine/BpelEngineImpl.java?rev=586931&r1=586930&r2=586931&view=diff
==============================================================================
--- 
ode/branches/APACHE_ODE_1.1/bpel-runtime/src/main/java/org/apache/ode/bpel/engine/BpelEngineImpl.java
 (original)
+++ 
ode/branches/APACHE_ODE_1.1/bpel-runtime/src/main/java/org/apache/ode/bpel/engine/BpelEngineImpl.java
 Sun Oct 21 11:44:13 2007
@@ -419,12 +419,7 @@
         // Note that the eventListeners list is a copy-on-write array, so need
         // to mess with synchronization.
         for (org.apache.ode.bpel.iapi.BpelEventListener l : 
_contexts.eventListeners) {
-               try {
-                       l.onEvent(event);
-               } catch (Throwable t) {
-                       // catch all possible exceptions
-                       __log.warn("Got an exception while notifying 
BpelEventListener '" + l + "'.", t);
-               }
+                       l.onEvent(event);
         }
     }
 


Reply via email to