throw new CompilationTimeLimitExceededException(
"Compilation process is out of time");
}
if (!program.canExecute()) {
processMessage(program);
throw new CompilationErrorException(message.toString());
}
} catch (IOException e) {
try {
int code = executor.waitForExit(); // throws ProcessExecutingException, InterruptedException
System.err.println("Compilation process exited with code " + code);