ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ste...@apache.org
Subject cvs commit: jakarta-ant/src/main/org/apache/tools/ant/taskdefs/compilers CompilerAdapterFactory.java
Date Mon, 29 Apr 2002 23:38:04 GMT
stevel      02/04/29 16:38:04

  Modified:    src/main/org/apache/tools/ant/taskdefs/compilers
                        CompilerAdapterFactory.java
  Log:
  because a screwed up build.compiler only gives an error message like "false can't be found."
  
  Revision  Changes    Path
  1.13      +4 -3      jakarta-ant/src/main/org/apache/tools/ant/taskdefs/compilers/CompilerAdapterFactory.java
  
  Index: CompilerAdapterFactory.java
  ===================================================================
  RCS file: /home/cvs/jakarta-ant/src/main/org/apache/tools/ant/taskdefs/compilers/CompilerAdapterFactory.java,v
  retrieving revision 1.12
  retrieving revision 1.13
  diff -u -r1.12 -r1.13
  --- CompilerAdapterFactory.java	18 Apr 2002 14:18:59 -0000	1.12
  +++ CompilerAdapterFactory.java	29 Apr 2002 23:38:04 -0000	1.13
  @@ -191,14 +191,15 @@
               Object o = c.newInstance();
               return (CompilerAdapter) o;
           } catch (ClassNotFoundException cnfe) {
  -            throw new BuildException(className + " can\'t be found.", cnfe);
  +            throw new BuildException("Compiler Adapter "+className 
  +                    + " can\'t be found.", cnfe);
           } catch (ClassCastException cce) {
               throw new BuildException(className + " isn\'t the classname of "
                       + "a compiler adapter.", cce);
           } catch (Throwable t) {
               // for all other possibilities
  -            throw new BuildException(className + " caused an interesting "
  -                    + "exception.", t);
  +            throw new BuildException("Compiler Adapter "+className 
  +                    + " caused an interesting exception.", t);
           }
       }
   
  
  
  

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