logger.error("Gridshib exception: " + e.getMessage()); throw (new Exception("Unable to renew TeraGrid proxy"));
chmodExecutor.execute(); } catch (ExecutorException e) { e.printStackTrace(); } catch (FileNotFoundException e1) { e1.printStackTrace(); downloadResultsExecutor.execute(); } catch (ExecutorException e) { e.printStackTrace();
throw new CondorException("Failed to parse cluster id: " + e.getMessage()); } catch (ExecutorException e) { e.printStackTrace(); throw new CondorException("ExecutorException: " + e.getMessage()); } catch (IOException e) { e.printStackTrace();
FileUtils.writeStringToFile(wrapperFile, wrapperContents, "UTF-8"); } catch (IOException e) { throw new ExecutorException("Unable to create tmp file"); process.waitFor(); } catch (IOException ioe) { throw new ExecutorException("chmod problem: " + ioe.getMessage()); } catch (InterruptedException e) { throw new ExecutorException("Process error: " + ioe.getMessage()); } finally { throw new ExecutorException(delayedError);
logger.error("myproxy error: " + e.getMessage()); throw (new Exception("Unable to renew RENCI proxy"));
chmodExecutor.execute(); } catch (ExecutorException e) { e.printStackTrace(); } catch (FileNotFoundException e) { e.printStackTrace(); e.printStackTrace();
logger.error("myproxy error: " + e.getMessage()); throw new Exception("Unable to renew OSG proxy");
chmodExecutor.execute(); } catch (ExecutorException e) { e.printStackTrace(); } catch (FileNotFoundException e1) { e1.printStackTrace(); status = Genesis2JobStatus.valueOf(s); } catch (ExecutorException e) { e.printStackTrace();
commandOutput = executor.execute(commandInput, new File(System.getProperty("user.home"), ".mapseqrc")); } catch (ExecutorException e1) { throw new ModuleException(e1.getMessage());
logger.info("commandOutput.getExitCode(): {}", commandOutput.getExitCode()); } catch (ExecutorException e) { e.printStackTrace();
public void run() { for (LaunchDescriptorBean ldb : getLaunchDescriptorBeans()) { String command = ldb.getCommands().get(0); logger.debug("command = " + command); Executor sh = new Executor(command); sh.setEnvironment(new HashMap<String, String>()); sh.setWorkDir(getWorkDirectory()); try { sh.execute(); } catch (ExecutorException e) { logger.error("Execution error: " + e.getMessage()); } setStdOut(sh.getStdout()); setStdErr(sh.getStderr()); setExitCode(sh.getExitCode()); } }