Author: mriou
Date: Wed Jun 11 07:35:36 2008
New Revision: 666682

URL: http://svn.apache.org/viewvc?rev=666682&view=rev
Log:
Correcting the caught exception.

Modified:
    ode/trunk/bpel-runtime/src/main/java/org/apache/ode/bpel/runtime/PICK.java

Modified: 
ode/trunk/bpel-runtime/src/main/java/org/apache/ode/bpel/runtime/PICK.java
URL: 
http://svn.apache.org/viewvc/ode/trunk/bpel-runtime/src/main/java/org/apache/ode/bpel/runtime/PICK.java?rev=666682&r1=666681&r2=666682&view=diff
==============================================================================
--- ode/trunk/bpel-runtime/src/main/java/org/apache/ode/bpel/runtime/PICK.java 
(original)
+++ ode/trunk/bpel-runtime/src/main/java/org/apache/ode/bpel/runtime/PICK.java 
Wed Jun 11 07:35:36 2008
@@ -41,6 +41,7 @@
 import org.apache.ode.utils.DOMUtils;
 import org.apache.ode.utils.xsd.Duration;
 import org.apache.ode.bpel.evar.ExternalVariableModuleException;
+import org.apache.ode.bpel.iapi.BpelEngineException;
 import org.w3c.dom.Element;
 import org.w3c.dom.Node;
 
@@ -157,14 +158,13 @@
             // At this point, not being able to get the request is most 
probably
             // a mex that hasn't properly replied to (process issue).
             msgEl = getBpelRuntimeContext().getMyRequest(mexId);
-        } catch (ExternalVariableModuleException e) {
+        } catch (BpelEngineException e) {
             __log.error("The message exchange seems to be in an unconsistent 
state, you're " +
                 "probably missing a reply on a request/response interaction.");
             _self.parent.failure(e.toString(), null);
             return;
         }
 
-        Element msgEl = getBpelRuntimeContext().getMyRequest(mexId);
         Collection<String> partNames = (Collection<String>) 
onMessage.operation.getInput().getMessage().getParts().keySet();
 
         // Let's do some sanity checks here so that we don't get weird errors 
in assignment later.


Reply via email to