cocoon-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From u..@apache.org
Subject svn commit: r227208 - /cocoon/branches/BRANCH_2_1_X/src/java/org/apache/cocoon/util/location/LocatedRuntimeException.java
Date Wed, 03 Aug 2005 12:24:03 GMT
Author: ugo
Date: Wed Aug  3 05:24:00 2005
New Revision: 227208

URL: http://svn.apache.org/viewcvs?rev=227208&view=rev
Log:
Sanity null check

Modified:
    cocoon/branches/BRANCH_2_1_X/src/java/org/apache/cocoon/util/location/LocatedRuntimeException.java

Modified: cocoon/branches/BRANCH_2_1_X/src/java/org/apache/cocoon/util/location/LocatedRuntimeException.java
URL: http://svn.apache.org/viewcvs/cocoon/branches/BRANCH_2_1_X/src/java/org/apache/cocoon/util/location/LocatedRuntimeException.java?rev=227208&r1=227207&r2=227208&view=diff
==============================================================================
--- cocoon/branches/BRANCH_2_1_X/src/java/org/apache/cocoon/util/location/LocatedRuntimeException.java
(original)
+++ cocoon/branches/BRANCH_2_1_X/src/java/org/apache/cocoon/util/location/LocatedRuntimeException.java
Wed Aug  3 05:24:00 2005
@@ -61,7 +61,7 @@
     }
 
     public String getMessage() {
-        if (this.locations == null) {
+        if (this.locations == null || super.getMessage() == null) {
             return super.getMessage();
         }
 



Mime
View raw message