2006/unicorn/src/org/w3c/unicorn UnicornCall.java,1.21,1.22

Update of /sources/public/2006/unicorn/src/org/w3c/unicorn
In directory hutz:/tmp/cvs-serv7162/src/org/w3c/unicorn

Modified Files:
	UnicornCall.java 
Log Message:
if a thread throws an InterruptedException, displays a Message

Index: UnicornCall.java
===================================================================
RCS file: /sources/public/2006/unicorn/src/org/w3c/unicorn/UnicornCall.java,v
retrieving revision 1.21
retrieving revision 1.22
diff -u -d -r1.21 -r1.22
--- UnicornCall.java	21 Sep 2009 13:16:54 -0000	1.21
+++ UnicornCall.java	21 Sep 2009 15:57:01 -0000	1.22
@@ -28,7 +28,6 @@
 import org.w3c.unicorn.tasklist.parameters.Mapping;
 import org.w3c.unicorn.tasklist.parameters.Parameter;
 import org.w3c.unicorn.tasklist.parameters.Value;
-import org.w3c.unicorn.tasklisttree.TLTCond;
 import org.w3c.unicorn.tasklisttree.TLTExec;
 import org.w3c.unicorn.tasklisttree.TLTIf;
 import org.w3c.unicorn.tasklisttree.TLTNode;
@@ -116,7 +115,7 @@
 			doRequests(aRequestList);
 			// browse the conditions to do the connection
 			for (TLTIf iF : node.getIfList()) {
-				if (iF.check(this)) {// checkCond(iF)) {
+				if (iF.check(this)) {
 					doNode(inputParameter, iF.getIfOk());
 				} else {
 					doNode(inputParameter, iF.getIfNotOk());
@@ -357,7 +356,8 @@
 					mapOfResponse.put(thread.getObsID(), thread.getResponse());
 				logger.debug("Request " + thread.getObsID() + " terminated");
 			} catch (InterruptedException e) {
-				e.printStackTrace();
+				messages.add(new Message(e));
+				logger.error(e.getMessage(), e);
 			}
 		}
 	}

Received on Monday, 21 September 2009 15:57:13 UTC