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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]