cocoon-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From sylv...@apache.org
Subject svn commit: r280952 - /cocoon/trunk/src/java/org/apache/cocoon/util/location/LocatedException.java
Date Wed, 14 Sep 2005 21:58:29 GMT
Author: sylvain
Date: Wed Sep 14 14:58:26 2005
New Revision: 280952

URL: http://svn.apache.org/viewcvs?rev=280952&view=rev
Log:
Ensure locations all use the same format in stack traces

Modified:
    cocoon/trunk/src/java/org/apache/cocoon/util/location/LocatedException.java

Modified: cocoon/trunk/src/java/org/apache/cocoon/util/location/LocatedException.java
URL: http://svn.apache.org/viewcvs/cocoon/trunk/src/java/org/apache/cocoon/util/location/LocatedException.java?rev=280952&r1=280951&r2=280952&view=diff
==============================================================================
--- cocoon/trunk/src/java/org/apache/cocoon/util/location/LocatedException.java (original)
+++ cocoon/trunk/src/java/org/apache/cocoon/util/location/LocatedException.java Wed Sep 14
14:58:26 2005
@@ -116,7 +116,7 @@
         // Produce a Java-like stacktrace with locations
         StringBuffer buf = message == null ? new StringBuffer() : new StringBuffer(message);
         for (int i = 0; i < locations.size(); i++) {
-            buf.append("\n\tat ").append(locations.get(i));
+            buf.append("\n\tat ").append(LocationUtils.toString((Location)locations.get(i)));
         }
         return buf.toString();
     }



Mime
View raw message