[jboss-cvs] jboss-seam/src/main/org/jboss/seam/core ...
Gavin King
gavin.king at jboss.com
Thu Nov 2 21:32:38 EST 2006
User: gavin
Date: 06/11/02 21:32:38
Modified: src/main/org/jboss/seam/core Exceptions.java
Log:
fixed two bugs in exception handling
Revision Changes Path
1.6 +1 -1 jboss-seam/src/main/org/jboss/seam/core/Exceptions.java
(In the diff below, changes in quantity of whitespace are not shown.)
Index: Exceptions.java
===================================================================
RCS file: /cvsroot/jboss/jboss-seam/src/main/org/jboss/seam/core/Exceptions.java,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -b -r1.5 -r1.6
--- Exceptions.java 27 Oct 2006 21:54:09 -0000 1.5
+++ Exceptions.java 3 Nov 2006 02:32:38 -0000 1.6
@@ -334,7 +334,7 @@
protected static String getDisplayMessage(Exception e, String message)
{
- if ( Strings.isEmpty(message) )
+ if ( Strings.isEmpty(message) && e.getMessage()!=null )
{
return e.getMessage();
}
More information about the jboss-cvs-commits
mailing list