} catch (ProcessNotRunningException ex) {
ex.printStackTrace();
} catch (InterruptedException ex) {
ex.printStackTrace();
}
throw new CompilationInternalServerErrorException(
"Input/output error while compilation: " + e);
} catch (ProcessExecutingException e) {
throw new CompilationInternalServerErrorException(
"Compilation process running error: " + e);
} catch (InterruptedException e) {
throw new CompilationInternalServerErrorException(
"Interrupted: " + e);
} finally {
FileOperator.close(reader);
}
}