From 0ff5b1526032147746a2f43b9463e791e115b872 Mon Sep 17 00:00:00 2001 From: slaws Date: Fri, 29 May 2009 08:27:11 +0000 Subject: TUSCANY-2967 back out the trial change to bytes format messages so that all wire formats consistently return faults as JMS Object messages. git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@779892 13f79535-47bb-0310-9956-ffa450edef68 --- .../jms/format/jmsbytes/helloworld/HelloWorldReferenceImpl.java | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'branches/sca-java-1.x/itest/jms-format/src/main/java/org/apache/tuscany/sca/binding/jms/format/jmsbytes/helloworld/HelloWorldReferenceImpl.java') diff --git a/branches/sca-java-1.x/itest/jms-format/src/main/java/org/apache/tuscany/sca/binding/jms/format/jmsbytes/helloworld/HelloWorldReferenceImpl.java b/branches/sca-java-1.x/itest/jms-format/src/main/java/org/apache/tuscany/sca/binding/jms/format/jmsbytes/helloworld/HelloWorldReferenceImpl.java index 1032bd0f40..efed4842ea 100644 --- a/branches/sca-java-1.x/itest/jms-format/src/main/java/org/apache/tuscany/sca/binding/jms/format/jmsbytes/helloworld/HelloWorldReferenceImpl.java +++ b/branches/sca-java-1.x/itest/jms-format/src/main/java/org/apache/tuscany/sca/binding/jms/format/jmsbytes/helloworld/HelloWorldReferenceImpl.java @@ -33,7 +33,10 @@ public class HelloWorldReferenceImpl implements HelloWorldReference { try { helloWorldService1.throwChecked(name.getBytes()); } catch (Exception e) { - stringValue += " " + e.getMessage(); + // Test to see what happens if we talk to a service + // that declares a checked exception through an + // interface that doesn't + stringValue += " " + e.getCause().getMessage(); } try { -- cgit v1.2.3