throw new ZeusException(resp.getErrorText());
}
}
public void updateJobFromWeb(String jobId) throws Exception {
WebResponse resp = new WorkerWebUpdate().execute(context, jobId).get();
if (resp.getStatus() == Status.ERROR) {
throw new Exception(resp.getErrorText());
}
}