try {
if (!Configuration.isCompiled(p.lang)) {
return true;
}
Compiler c = CompilerFactory.getInstance().getCompiler(p.lang);
c.compile(p);
return true;
} catch (CompilationInternalServerErrorException e) {
comment.append(ExitCodes.getMsg(ExitCodes.INTERNAL_ERROR));
error.append("Error while program compilation: " + e.getMessage());
res = ExitCodes.INTERNAL_ERROR;