From a96d884519830a29ceebdd0fecc3c9c935859ef1 Mon Sep 17 00:00:00 2001 From: Steve Loughran Date: Tue, 30 Apr 2002 00:03:25 +0000 Subject: [PATCH] now you get: Compiler Adapter 'false' can't be found. git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@272598 13f79535-47bb-0310-9956-ffa450edef68 --- .../tools/ant/taskdefs/compilers/CompilerAdapterFactory.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/main/org/apache/tools/ant/taskdefs/compilers/CompilerAdapterFactory.java b/src/main/org/apache/tools/ant/taskdefs/compilers/CompilerAdapterFactory.java index 17cd27748..af9951129 100644 --- a/src/main/org/apache/tools/ant/taskdefs/compilers/CompilerAdapterFactory.java +++ b/src/main/org/apache/tools/ant/taskdefs/compilers/CompilerAdapterFactory.java @@ -191,8 +191,8 @@ public class CompilerAdapterFactory { Object o = c.newInstance(); return (CompilerAdapter) o; } catch (ClassNotFoundException cnfe) { - throw new BuildException("Compiler Adapter "+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);