Skip to Content.
Sympa Menu

notify-dpml - r900 - trunk/main/transit/core/src/main/net/dpml/transit/util

notify-dpml AT lists.ibiblio.org

Subject: DPML Notify

List archive

Chronological Thread  
  • From: mcconnell at BerliOS <mcconnell AT mail.berlios.de>
  • To: notify-dpml AT lists.ibiblio.org
  • Subject: r900 - trunk/main/transit/core/src/main/net/dpml/transit/util
  • Date: Wed, 11 Jan 2006 05:03:13 +0100

Author: mcconnell
Date: 2006-01-11 05:03:06 +0100 (Wed, 11 Jan 2006)
New Revision: 900

Modified:
trunk/main/transit/core/src/main/net/dpml/transit/util/ExceptionHelper.java
Log:
if the message is null don't list it

Modified:
trunk/main/transit/core/src/main/net/dpml/transit/util/ExceptionHelper.java
===================================================================
---
trunk/main/transit/core/src/main/net/dpml/transit/util/ExceptionHelper.java
2006-01-11 03:54:13 UTC (rev 899)
+++
trunk/main/transit/core/src/main/net/dpml/transit/util/ExceptionHelper.java
2006-01-11 04:03:06 UTC (rev 900)
@@ -200,7 +200,10 @@
}

buffer.append( "Exception: " + e.getClass().getName() + "\n" );
- buffer.append( "Message: " + e.getMessage() + "\n" );
+ if( null != e.getMessage() )
+ {
+ buffer.append( "Message: " + e.getMessage() + "\n" );
+ }
packCause( buffer, getCause( e ) ).toString();
Throwable root = getLastThrowable( e );
if( ( root != null ) && stack )




  • r900 - trunk/main/transit/core/src/main/net/dpml/transit/util, mcconnell at BerliOS, 01/10/2006

Archive powered by MHonArc 2.6.24.

Top of Page