ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bode...@apache.org
Subject svn commit: r442849 - /ant/core/trunk/src/main/org/apache/tools/ant/TaskAdapter.java
Date Wed, 13 Sep 2006 05:25:50 GMT
Author: bodewig
Date: Tue Sep 12 22:25:49 2006
New Revision: 442849

URL: http://svn.apache.org/viewvc?view=rev&rev=442849
Log:
Don't wrap BuildExceptions in yet another BuildException

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

Modified: ant/core/trunk/src/main/org/apache/tools/ant/TaskAdapter.java
URL: http://svn.apache.org/viewvc/ant/core/trunk/src/main/org/apache/tools/ant/TaskAdapter.java?view=diff&rev=442849&r1=442848&r2=442849
==============================================================================
--- ant/core/trunk/src/main/org/apache/tools/ant/TaskAdapter.java (original)
+++ ant/core/trunk/src/main/org/apache/tools/ant/TaskAdapter.java Tue Sep 12 22:25:49 2006
@@ -132,6 +132,8 @@
 
         try {
             DispatchUtils.execute(proxy);
+        } catch (BuildException be) {
+            throw be;
         } catch (Exception ex) {
             log("Error in " + proxy.getClass(), Project.MSG_VERBOSE);
             throw new BuildException(ex);



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


Mime
View raw message