tuscany-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From antel...@apache.org
Subject svn commit: r1240983 - /tuscany/sca-java-2.x/trunk/modules/binding-jms-runtime/src/main/java/org/apache/tuscany/sca/binding/jms/provider/AbstractMessageProcessor.java
Date Mon, 06 Feb 2012 11:40:03 GMT
Author: antelder
Date: Mon Feb  6 11:40:03 2012
New Revision: 1240983

URL: http://svn.apache.org/viewvc?rev=1240983&view=rev
Log:
When the JMS binding returns an fault message for an unexpected exception include the exception
class name in the message

Modified:
    tuscany/sca-java-2.x/trunk/modules/binding-jms-runtime/src/main/java/org/apache/tuscany/sca/binding/jms/provider/AbstractMessageProcessor.java

Modified: tuscany/sca-java-2.x/trunk/modules/binding-jms-runtime/src/main/java/org/apache/tuscany/sca/binding/jms/provider/AbstractMessageProcessor.java
URL: http://svn.apache.org/viewvc/tuscany/sca-java-2.x/trunk/modules/binding-jms-runtime/src/main/java/org/apache/tuscany/sca/binding/jms/provider/AbstractMessageProcessor.java?rev=1240983&r1=1240982&r2=1240983&view=diff
==============================================================================
--- tuscany/sca-java-2.x/trunk/modules/binding-jms-runtime/src/main/java/org/apache/tuscany/sca/binding/jms/provider/AbstractMessageProcessor.java
(original)
+++ tuscany/sca-java-2.x/trunk/modules/binding-jms-runtime/src/main/java/org/apache/tuscany/sca/binding/jms/provider/AbstractMessageProcessor.java
Mon Feb  6 11:40:03 2012
@@ -134,7 +134,7 @@ public abstract class AbstractMessagePro
 
                 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 ");



Mime
View raw message