ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bode...@apache.org
Subject cvs commit: jakarta-ant/src/main/org/apache/tools/ant/taskdefs/optional TraXLiaison.java
Date Tue, 09 Apr 2002 14:51:55 GMT
bodewig     02/04/09 07:51:55

  Modified:    src/main/org/apache/tools/ant/taskdefs/optional
                        TraXLiaison.java
  Log:
  convert fatal TransformerExceptions into BuildExceptions for TraxLiaison.
  
  PR: 7405
  
  Revision  Changes    Path
  1.15      +2 -0      jakarta-ant/src/main/org/apache/tools/ant/taskdefs/optional/TraXLiaison.java
  
  Index: TraXLiaison.java
  ===================================================================
  RCS file: /home/cvs/jakarta-ant/src/main/org/apache/tools/ant/taskdefs/optional/TraXLiaison.java,v
  retrieving revision 1.14
  retrieving revision 1.15
  diff -u -r1.14 -r1.15
  --- TraXLiaison.java	8 Mar 2002 11:16:14 -0000	1.14
  +++ TraXLiaison.java	9 Apr 2002 14:51:55 -0000	1.15
  @@ -59,6 +59,7 @@
   import java.io.FileOutputStream;
   import java.io.IOException;
   
  +import org.apache.tools.ant.BuildException;
   import org.apache.tools.ant.taskdefs.XSLTLiaison;
   import org.apache.tools.ant.taskdefs.XSLTLoggerAware;
   import org.apache.tools.ant.taskdefs.XSLTLogger;
  @@ -219,6 +220,7 @@
       
       public void fatalError(TransformerException e)  {
           logError(e, "Fatal Error");
  +        throw new BuildException("Fatal error during transformation", e);
       }
       
       public void warning(TransformerException e)  {
  
  
  

--
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