ant-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bode...@apache.org
Subject svn commit: r703192 - /ant/core/trunk/src/main/org/apache/tools/ant/taskdefs/optional/ReplaceRegExp.java
Date Thu, 09 Oct 2008 15:58:47 GMT
Author: bodewig
Date: Thu Oct  9 08:58:46 2008
New Revision: 703192

URL: http://svn.apache.org/viewvc?rev=703192&view=rev
Log:
don't swallow original exception.  PR 34633.

Modified:
    ant/core/trunk/src/main/org/apache/tools/ant/taskdefs/optional/ReplaceRegExp.java

Modified: ant/core/trunk/src/main/org/apache/tools/ant/taskdefs/optional/ReplaceRegExp.java
URL: http://svn.apache.org/viewvc/ant/core/trunk/src/main/org/apache/tools/ant/taskdefs/optional/ReplaceRegExp.java?rev=703192&r1=703191&r2=703192&view=diff
==============================================================================
--- ant/core/trunk/src/main/org/apache/tools/ant/taskdefs/optional/ReplaceRegExp.java (original)
+++ ant/core/trunk/src/main/org/apache/tools/ant/taskdefs/optional/ReplaceRegExp.java Thu
Oct  9 08:58:46 2008
@@ -447,7 +447,7 @@
                     temp = null;
                 } catch (IOException e) {
                     throw new BuildException("Couldn't rename temporary file "
-                                             + temp, getLocation());
+                                             + temp, e, getLocation());
                 }
             } else {
                 log("No change made", Project.MSG_DEBUG);



Mime
View raw message