incubator-hise-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From r.@apache.org
Subject svn commit: r983587 - /incubator/hise/trunk/hise-services/src/main/java/org/apache/hise/runtime/Task.java
Date Mon, 09 Aug 2010 11:21:44 GMT
Author: rr
Date: Mon Aug  9 11:21:43 2010
New Revision: 983587

URL: http://svn.apache.org/viewvc?rev=983587&view=rev
Log:
HISE-64: Exception details fix (Thanks to Maciej Próchniak)

Modified:
    incubator/hise/trunk/hise-services/src/main/java/org/apache/hise/runtime/Task.java

Modified: incubator/hise/trunk/hise-services/src/main/java/org/apache/hise/runtime/Task.java
URL: http://svn.apache.org/viewvc/incubator/hise/trunk/hise-services/src/main/java/org/apache/hise/runtime/Task.java?rev=983587&r1=983586&r2=983587&view=diff
==============================================================================
--- incubator/hise/trunk/hise-services/src/main/java/org/apache/hise/runtime/Task.java (original)
+++ incubator/hise/trunk/hise-services/src/main/java/org/apache/hise/runtime/Task.java Mon
Aug  9 11:21:43 2010
@@ -19,38 +19,10 @@
 
 package org.apache.hise.runtime;
 
-import java.util.ArrayList;
-import java.util.Calendar;
-import java.util.Collection;
-import java.util.Date;
-import java.util.HashMap;
-import java.util.HashSet;
-import java.util.List;
-import java.util.Map;
-import java.util.Set;
-import java.util.Vector;
-
-import javax.wsdl.Operation;
-import javax.wsdl.Part;
-import javax.xml.namespace.NamespaceContext;
-import javax.xml.namespace.QName;
-import javax.xml.xpath.XPath;
-import javax.xml.xpath.XPathConstants;
-import javax.xml.xpath.XPathExpressionException;
-import javax.xml.xpath.XPathFactory;
-
 import org.apache.commons.lang.Validate;
 import org.apache.commons.logging.Log;
 import org.apache.commons.logging.LogFactory;
-import org.apache.hise.api.PeopleQueryProvider;
-import org.apache.hise.dao.Comment;
-import org.apache.hise.dao.GenericHumanRole;
-import org.apache.hise.dao.HISEDao;
-import org.apache.hise.dao.Job;
-import org.apache.hise.dao.Message;
-import org.apache.hise.dao.OrgEntity;
-import org.apache.hise.dao.PotentialDelegates;
-import org.apache.hise.dao.TaskOrgEntity;
+import org.apache.hise.dao.*;
 import org.apache.hise.dao.Task.Status;
 import org.apache.hise.dao.TaskOrgEntity.OrgEntityType;
 import org.apache.hise.engine.HISEEngineImpl;
@@ -66,6 +38,16 @@ import org.apache.ws.commons.schema.util
 import org.w3c.dom.Element;
 import org.w3c.dom.Node;
 
+import javax.wsdl.Operation;
+import javax.wsdl.Part;
+import javax.xml.namespace.NamespaceContext;
+import javax.xml.namespace.QName;
+import javax.xml.xpath.XPath;
+import javax.xml.xpath.XPathConstants;
+import javax.xml.xpath.XPathExpressionException;
+import javax.xml.xpath.XPathFactory;
+import java.util.*;
+
 /**
  * Holds task instance information. Provides task business operations.
  * 
@@ -791,7 +773,7 @@ public class Task {
                     response, 
                     taskEvaluator.createEprFromHeader(DOMUtils.parse(taskDto.getSoapHeader()).getDocumentElement()));
         } catch (Exception e) {
-            throw new RuntimeException("Sending response failed", e);
+            throw new RuntimeException("Sending response failed: "+e.getMessage(), e);
         }
     }
 



Mime
View raw message