bodewig     2003/11/03 07:48:24

  Modified:    src/main/org/apache/tools/ant/helper Tag: ANT_16_BRANCH
                        ProjectHelper2.java
  Log:
  Merge from HEAD
  
  Revision  Changes    Path
  No                   revision
  No                   revision
  1.33.2.2  +6 -4      
ant/src/main/org/apache/tools/ant/helper/ProjectHelper2.java
  
  Index: ProjectHelper2.java
  ===================================================================
  RCS file: 
/home/cvs/ant/src/main/org/apache/tools/ant/helper/ProjectHelper2.java,v
  retrieving revision 1.33.2.1
  retrieving revision 1.33.2.2
  diff -u -r1.33.2.1 -r1.33.2.2
  --- ProjectHelper2.java       20 Oct 2003 14:18:35 -0000      1.33.2.1
  +++ ProjectHelper2.java       3 Nov 2003 15:48:24 -0000       1.33.2.2
  @@ -268,11 +268,13 @@
           } catch (FileNotFoundException exc) {
               throw new BuildException(exc);
           } catch (UnsupportedEncodingException exc) {
  -              throw new BuildException("Encoding of project file is 
invalid.",
  -                exc);
  +              throw new BuildException("Encoding of project file "
  +                                       + buildFileName + " is invalid.",
  +                                       exc);
           } catch (IOException exc) {
  -            throw new BuildException("Error reading project file: "
  -                + exc.getMessage(), exc);
  +            throw new BuildException("Error reading project file " 
  +                                     + buildFileName + ": " + 
exc.getMessage(),
  +                                     exc);
           } finally {
               if (inputStream != null) {
                   try {
  
  
  

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to