diff options
author | antelder <antelder@13f79535-47bb-0310-9956-ffa450edef68> | 2012-02-06 11:40:03 +0000 |
---|---|---|
committer | antelder <antelder@13f79535-47bb-0310-9956-ffa450edef68> | 2012-02-06 11:40:03 +0000 |
commit | 2ef87f470a3d52e4f0362af9b6f0c5bd79dcc415 (patch) | |
tree | b6ac059aa7e237788c6b9e5966db5769b76295e2 /sca-java-2.x/trunk | |
parent | 4c5fe5e40520e6902ed0827ebb9829d6f1c43bb6 (diff) |
When the JMS binding returns an fault message for an unexpected exception include the exception class name in the message
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@1240983 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'sca-java-2.x/trunk')
-rw-r--r-- | sca-java-2.x/trunk/modules/binding-jms-runtime/src/main/java/org/apache/tuscany/sca/binding/jms/provider/AbstractMessageProcessor.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sca-java-2.x/trunk/modules/binding-jms-runtime/src/main/java/org/apache/tuscany/sca/binding/jms/provider/AbstractMessageProcessor.java b/sca-java-2.x/trunk/modules/binding-jms-runtime/src/main/java/org/apache/tuscany/sca/binding/jms/provider/AbstractMessageProcessor.java index 4569c9548f..9a5ac8598c 100644 --- a/sca-java-2.x/trunk/modules/binding-jms-runtime/src/main/java/org/apache/tuscany/sca/binding/jms/provider/AbstractMessageProcessor.java +++ b/sca-java-2.x/trunk/modules/binding-jms-runtime/src/main/java/org/apache/tuscany/sca/binding/jms/provider/AbstractMessageProcessor.java @@ -134,7 +134,7 @@ public abstract class AbstractMessageProcessor implements JMSMessageProcessor { final StringWriter sw = new StringWriter(); final PrintWriter pw = new PrintWriter(sw); - pw.print("Message = " + o.getMessage()); + pw.print("Message = " + o.getClass().getName() + ": " + o.getMessage()); StackTraceElement[] stackElements = o.getStackTrace(); for (int i = 0; i < stackElements.length; i++) { pw.print("\t>> \t at "); |