You are viewing a plain text version of this content. The canonical link for it is here.
Posted to cvs@cocoon.apache.org by ug...@apache.org on 2005/08/03 14:24:03 UTC
svn commit: r227208 -
/cocoon/branches/BRANCH_2_1_X/src/java/org/apache/cocoon/util/location/LocatedRuntimeException.java
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();
}