if (!ipIdDir.exists()) {
throw new ExecutionProblem("Could not find the 'id-ip-dir' for this handle, " +
"was it a virtual cluster launched with the context broker?");
}
final FutureTask task =
new FutureTask(
new PrintContextStatusTask(eprPath, brokerIdAuthz, shortName,
ipIdDirPath, print));
this.executor.submit(task);
try {
final Integer retCode = (Integer) task.get();
if (retCode.intValue() != BaseClient.SUCCESS_EXIT_CODE) {
throw new ExitNow(retCode.intValue());
}
} catch (InterruptedException e) {
throw new ExecutionProblem(e.getMessage(), e);