Object ret = method.invoke(null, new Object[]{javacParameters});
javacReturnValue = ((Integer) ret).intValue();
}
cu.getConfiguration().getOutput();
} catch (InvocationTargetException ite) {
cu.getErrorCollector().addFatalError(new ExceptionMessage((Exception) ite.getCause(), true, cu));
} catch (Exception e) {
cu.getErrorCollector().addFatalError(new ExceptionMessage(e, true, cu));
}
if (javacReturnValue!=0) {
switch (javacReturnValue) {
case 1: addJavacError("Compile error during compilation with javac.",cu,javacOutput); break;
case 2: addJavacError("Invalid commandline usage for javac.",cu,javacOutput); break;