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
This commit is contained in:
parent
4c5fe5e405
commit
2ef87f470a
1 changed files with 1 additions and 1 deletions
|
@ -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 ");
|
||||
|
|
Loading…
Add table
Reference in a new issue