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 ProjectHelper.java
Date Tue, 30 Dec 2003 12:46:17 GMT
peterreilly    2003/12/30 04:46:17

  Modified:    src/main/org/apache/tools/ant ProjectHelper.java
  Log:
  add original exception to new buildexception for
  projectHelper#addLocationToBuildException(
  PR: 25777
  Obtained from: Jesse Glick
  
  Revision  Changes    Path
  1.105     +2 -2      ant/src/main/org/apache/tools/ant/ProjectHelper.java
  
  Index: ProjectHelper.java
  ===================================================================
  RCS file: /home/cvs/ant/src/main/org/apache/tools/ant/ProjectHelper.java,v
  retrieving revision 1.104
  retrieving revision 1.105
  diff -u -r1.104 -r1.105
  --- ProjectHelper.java	18 Nov 2003 10:51:41 -0000	1.104
  +++ ProjectHelper.java	30 Dec 2003 12:46:17 -0000	1.105
  @@ -569,10 +569,10 @@
               + ex.getLocation().toString()
               + ex.getMessage();
           if (newLocation == null) {
  -            return new BuildException(errorMessage);
  +            return new BuildException(errorMessage, ex);
           } else {
               return new BuildException(
  -                errorMessage, newLocation);
  +                errorMessage, ex, newLocation);
           }
       }
   }
  
  
  

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


Mime
View raw message