try {
job.request(gateKeeper, false, false);
listener.waitFor();
} catch (GramException e) {
log.error(e.getMessage());
JobSubmissionFault error = new JobSubmissionFault(this, e, host.getHostAddress(),
host.getGlobusGateKeeperEndPointArray(0), job.getRSL(), jobExecutionContext);
throw error;
} catch (GSSException e) {
log.error(e.getMessage());
throw new GFacProviderException(e.getMessage(), e, jobExecutionContext);
} catch (InterruptedException e) {
log.error(e.getMessage());
throw new GFacProviderException("Thread", e, jobExecutionContext);
} catch (GFacException e) {
JobSubmissionFault error = new JobSubmissionFault(this, new Exception(errorMsg), "GFAC HOST", gateKeeper,
job.getRSL(), jobExecutionContext);
throw error;
}
}
JobSubmissionFault error = new JobSubmissionFault(this, new Exception(errorMsg), "GFAC HOST", gateKeeper,
job.getRSL(), jobExecutionContext);
throw error;
}
}