private GFacJobDataResource validateAndGetGFacJob(String jobId)
throws InvalidApplicationJobIDException, RegistryException,
ApplicationJobDoesNotExistsException {
if (jobId==null || jobId.equals("")){
throw new InvalidApplicationJobIDException();
}
if (!isApplicationJobExists(jobId)){
throw new ApplicationJobDoesNotExistsException(jobId);
}
GFacJobDataResource gFacJob = jpa.getWorker().getGFacJob(jobId);