ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From peterrei...@apache.org
Subject cvs commit: ant/src/main/org/apache/tools/ant/taskdefs MacroInstance.java
Date Thu, 21 Apr 2005 11:27:08 GMT
peterreilly    2005/04/21 04:27:08

  Modified:    src/main/org/apache/tools/ant/taskdefs MacroInstance.java
  Log:
  just change the exception and not make a new exception
  when hiding the macro
  
  Revision  Changes    Path
  1.35      +2 -1      ant/src/main/org/apache/tools/ant/taskdefs/MacroInstance.java
  
  Index: MacroInstance.java
  ===================================================================
  RCS file: /home/cvs/ant/src/main/org/apache/tools/ant/taskdefs/MacroInstance.java,v
  retrieving revision 1.34
  retrieving revision 1.35
  diff -u -r1.34 -r1.35
  --- MacroInstance.java	21 Apr 2005 09:49:55 -0000	1.34
  +++ MacroInstance.java	21 Apr 2005 11:27:08 -0000	1.35
  @@ -384,7 +384,8 @@
                   throw ProjectHelper.addLocationToBuildException(
                       ex, getLocation());
               } else {
  -                throw new BuildException(ex.getMessage(), ex);
  +                ex.setLocation(getLocation());
  +                throw ex;
               }
           } finally {
               presentElements = null;
  
  
  

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


Mime
View raw message