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 AntClassLoader.java
Date Mon, 27 Aug 2001 14:14:04 GMT
conor       01/08/27 07:14:04

  Modified:    src/main/org/apache/tools/ant Tag: ANT_14_BRANCH
                        AntClassLoader.java
  Log:
  Give better errors when class definition fails
  
  Revision  Changes    Path
  No                   revision
  
  
  No                   revision
  
  
  1.33.2.1  +4 -0      jakarta-ant/src/main/org/apache/tools/ant/AntClassLoader.java
  
  Index: AntClassLoader.java
  ===================================================================
  RCS file: /home/cvs/jakarta-ant/src/main/org/apache/tools/ant/AntClassLoader.java,v
  retrieving revision 1.33
  retrieving revision 1.33.2.1
  diff -u -r1.33 -r1.33.2.1
  --- AntClassLoader.java	2001/08/06 09:58:36	1.33
  +++ AntClassLoader.java	2001/08/27 14:14:04	1.33.2.1
  @@ -866,6 +866,9 @@
                   if (t instanceof ClassFormatError) {
                       throw (ClassFormatError)t;
                   }
  +                else if (t instanceof NoClassDefFoundError) {
  +                    throw (NoClassDefFoundError)t;
  +                }
                   else {
                       throw new IOException(t.toString());
                   }
  @@ -914,6 +917,7 @@
                       }
                   }
                   catch (IOException ioe) {
  +                    // ioe.printStackTrace();
                       log("Exception reading component " + pathComponent , Project.MSG_VERBOSE);
                   }
               }
  
  
  

Mime
View raw message