ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bode...@apache.org
Subject svn commit: r349648 - /ant/core/trunk/src/main/org/apache/tools/ant/launch/Locator.java
Date Tue, 29 Nov 2005 04:58:51 GMT
Author: bodewig
Date: Mon Nov 28 20:58:45 2005
New Revision: 349648

URL: http://svn.apache.org/viewcvs?rev=349648&view=rev
Log:
fix build for JDK1.4 and earlier

Modified:
    ant/core/trunk/src/main/org/apache/tools/ant/launch/Locator.java

Modified: ant/core/trunk/src/main/org/apache/tools/ant/launch/Locator.java
URL: http://svn.apache.org/viewcvs/ant/core/trunk/src/main/org/apache/tools/ant/launch/Locator.java?rev=349648&r1=349647&r2=349648&view=diff
==============================================================================
--- ant/core/trunk/src/main/org/apache/tools/ant/launch/Locator.java (original)
+++ ant/core/trunk/src/main/org/apache/tools/ant/launch/Locator.java Mon Nov 28 20:58:45 2005
@@ -138,8 +138,10 @@
         try {
             path = decodeUri(uri);
         } catch (UnsupportedEncodingException exc) {
-            // not sure whether this is clean, but this method is declared not to throw exceptions.
-            throw new IllegalStateException("Could not convert URI to path", exc);
+            // not sure whether this is clean, but this method is
+            // declared not to throw exceptions.
+            throw new IllegalStateException("Could not convert URI to path: "
+                                            + exc.getMessage());
         }
         return path;
     }



---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@ant.apache.org
For additional commands, e-mail: dev-help@ant.apache.org


Mime
View raw message