You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@tuscany.apache.org by an...@apache.org on 2009/12/04 10:34:37 UTC
svn commit: r887130 -
/tuscany/sca-java-2.x/trunk/itest/nodes/helloworld-client/src/main/java/itest/nodes/HelloworldImpl.java
Author: antelder
Date: Fri Dec 4 09:34:36 2009
New Revision: 887130
URL: http://svn.apache.org/viewvc?rev=887130&view=rev
Log:
Add an exception print so i can see if the error happens on the hudson machine
Modified:
tuscany/sca-java-2.x/trunk/itest/nodes/helloworld-client/src/main/java/itest/nodes/HelloworldImpl.java
Modified: tuscany/sca-java-2.x/trunk/itest/nodes/helloworld-client/src/main/java/itest/nodes/HelloworldImpl.java
URL: http://svn.apache.org/viewvc/tuscany/sca-java-2.x/trunk/itest/nodes/helloworld-client/src/main/java/itest/nodes/HelloworldImpl.java?rev=887130&r1=887129&r2=887130&view=diff
==============================================================================
--- tuscany/sca-java-2.x/trunk/itest/nodes/helloworld-client/src/main/java/itest/nodes/HelloworldImpl.java (original)
+++ tuscany/sca-java-2.x/trunk/itest/nodes/helloworld-client/src/main/java/itest/nodes/HelloworldImpl.java Fri Dec 4 09:34:36 2009
@@ -37,7 +37,12 @@
}
public String sayHello(String name) {
+ try {
return "Hi " + service.sayHello(name);
+ } catch (Exception e) {
+ e.printStackTrace();
+ return e.getMessage();
+ }
}
}