sparqlGraphLibrary/src/main/java/com/ge/research/semtk/api/nodeGroupExecution/client/NodeGroupExecutionClient.java
public Table waitForJobAndGetTable(String jobId) throws Exception {
		// wait for completion
		this.waitForCompletion(jobId);
		
		// check for success
		if (this.getJobSuccess(jobId)) {
			return this.getResultsTable(jobId);
		} else {
			String msg = this.getJobStatusMessage(jobId);
			throw new Exception(String.format("Job %s failed with message='%s'", jobId, msg));
		}
	}
/**
	 * Given jobId, check til job is done, check for success, get table
	 * @param jobId
	 * @return
	 * @throws Exception - if anything other than a valid table is returned
	 */
Given jobId, check til job is done, check for success, get table
@param jobId
@return
@throws Exception - if anything other than a valid table is returned
Given jobId check til job is done check for success get table @param jobId @return @throws Exception - if anything other than a valid table is returned
public Table waitForJobAndGetTable(String jobId) throws Exception {
		this.waitForCompletion(jobId);
		if (this.getJobSuccess(jobId)) {
			return this.getResultsTable(jobId);
		} else {
			String msg = this.getJobStatusMessage(jobId);
			throw new Exception(String.format("Job %s failed with message='%s'", jobId, msg));
		}
	}
public Table waitForJobAndGetTable ( String jobId ) throws Exception { this . waitForCompletion ( jobId ) ; if ( this . getJobSuccess ( jobId ) ) { return this . getResultsTable ( jobId ) ; } else { String msg = this . getJobStatusMessage ( jobId ) ; throw new Exception ( String . format ( "Job %s failed with message='%s'" , jobId , msg ) ) ; } }
Given jobId, check til job is done, check for success, get table
 @param jobId
 @return
 @throws Exception - if anything other than a valid table is returned
Given jobId check til job is done check for success get table @param jobId @return @throws Exception - if anything other than a valid table is returned
// wait for completion // check for success