ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From co...@apache.org
Subject cvs commit: jakarta-ant/src/main/org/apache/tools/ant/taskdefs/optional/junit AggregateTransformer.java
Date Tue, 06 Aug 2002 23:42:39 GMT
conor       2002/08/06 16:42:39

  Modified:    src/main/org/apache/tools/ant/taskdefs/optional/junit
                        AggregateTransformer.java
  Log:
  Include underlying exception message in exception. Makes it simpler to debug
  
  Revision  Changes    Path
  1.18      +2 -1      jakarta-ant/src/main/org/apache/tools/ant/taskdefs/optional/junit/AggregateTransformer.java
  
  Index: AggregateTransformer.java
  ===================================================================
  RCS file: /home/cvs/jakarta-ant/src/main/org/apache/tools/ant/taskdefs/optional/junit/AggregateTransformer.java,v
  retrieving revision 1.17
  retrieving revision 1.18
  diff -u -w -u -r1.17 -r1.18
  --- AggregateTransformer.java	25 Jul 2002 15:21:16 -0000	1.17
  +++ AggregateTransformer.java	6 Aug 2002 23:42:39 -0000	1.18
  @@ -182,7 +182,8 @@
               XalanExecutor executor = XalanExecutor.newInstance(this);
               executor.execute();
           } catch (Exception e){
  -            throw new BuildException("Errors while applying transformations", e);
  +            throw new BuildException("Errors while applying transformations: "
  +                + e.getMessage(), e);
           }
           final long dt = System.currentTimeMillis() - t0;
           task.log("Transform time: " + dt + "ms");
  
  
  

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


Mime
View raw message