Author: david.lloyd(a)jboss.com
Date: 2008-07-28 18:11:14 -0400 (Mon, 28 Jul 2008)
New Revision: 4435
Modified:
remoting3/trunk/testing-support/src/main/java/org/jboss/cx/remoting/test/support/LoggingHelper.java
Log:
Improve exception printout
Modified:
remoting3/trunk/testing-support/src/main/java/org/jboss/cx/remoting/test/support/LoggingHelper.java
===================================================================
---
remoting3/trunk/testing-support/src/main/java/org/jboss/cx/remoting/test/support/LoggingHelper.java 2008-07-28
22:04:33 UTC (rev 4434)
+++
remoting3/trunk/testing-support/src/main/java/org/jboss/cx/remoting/test/support/LoggingHelper.java 2008-07-28
22:11:14 UTC (rev 4435)
@@ -61,9 +61,7 @@
Throwable t = record.getThrown();
while (t != null) {
builder.append("\n Caused by: ");
- builder.append(t.getClass().getName());
- builder.append(": ");
- builder.append(t.getMessage());
+ builder.append(t.toString());
for (StackTraceElement e : t.getStackTrace()) {
builder.append("\n at ");
builder.append(e.getClassName()).append('.').append(e.getMethodName());
Show replies by date