summaryrefslogtreecommitdiffstats
path: root/sca-java-2.x/trunk/itest/nodes/helloworld-client/src
diff options
context:
space:
mode:
authorantelder <antelder@13f79535-47bb-0310-9956-ffa450edef68>2009-12-04 09:34:36 +0000
committerantelder <antelder@13f79535-47bb-0310-9956-ffa450edef68>2009-12-04 09:34:36 +0000
commit12bd932fb49e3d12b8e1f247e631f263f308f9d0 (patch)
tree90a6c51b827a979997e3239b6d50dafb861187e7 /sca-java-2.x/trunk/itest/nodes/helloworld-client/src
parent9af1d80d824f9f324f3854498fa7ac9850b9eebb (diff)
Add an exception print so i can see if the error happens on the hudson machine
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@887130 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'sca-java-2.x/trunk/itest/nodes/helloworld-client/src')
-rw-r--r--sca-java-2.x/trunk/itest/nodes/helloworld-client/src/main/java/itest/nodes/HelloworldImpl.java5
1 files changed, 5 insertions, 0 deletions
diff --git a/sca-java-2.x/trunk/itest/nodes/helloworld-client/src/main/java/itest/nodes/HelloworldImpl.java b/sca-java-2.x/trunk/itest/nodes/helloworld-client/src/main/java/itest/nodes/HelloworldImpl.java
index bf8a588928..c9bd11b3d9 100644
--- a/sca-java-2.x/trunk/itest/nodes/helloworld-client/src/main/java/itest/nodes/HelloworldImpl.java
+++ b/sca-java-2.x/trunk/itest/nodes/helloworld-client/src/main/java/itest/nodes/HelloworldImpl.java
@@ -37,7 +37,12 @@ public class HelloworldImpl implements Helloworld {
}
public String sayHello(String name) {
+ try {
return "Hi " + service.sayHello(name);
+ } catch (Exception e) {
+ e.printStackTrace();
+ return e.getMessage();
+ }
}
}