|
@@ -191,8 +191,8 @@ public class CompilerAdapterFactory { |
|
|
Object o = c.newInstance(); |
|
|
Object o = c.newInstance(); |
|
|
return (CompilerAdapter) o; |
|
|
return (CompilerAdapter) o; |
|
|
} catch (ClassNotFoundException cnfe) { |
|
|
} 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) { |
|
|
} catch (ClassCastException cce) { |
|
|
throw new BuildException(className + " isn\'t the classname of " |
|
|
throw new BuildException(className + " isn\'t the classname of " |
|
|
+ "a compiler adapter.", cce); |
|
|
+ "a compiler adapter.", cce); |
|
|