sparqlGraphLibrary/src/main/java/com/ge/research/semtk/edc/client/ResultsClient.java
private void waitForThreadToFinish(Thread thread) throws Exception{
		if (thread != null) {
			thread.join();
			(this.getRunResAsSimpleResultSet()).throwExceptionIfUnsuccessful();
			if (this.getRunException() != null) {
				throw this.getRunException();
			}
		}
		this.parametersJSON.clear();  // clear parameters for next time
	}
/**
	 * Waits for the thread to finish, and throws an exception if not successful
	 */
Waits for the thread to finish, and throws an exception if not successful
Waits for the thread to finish and throws an exception if not successful
private void waitForThreadToFinish(Thread thread) throws Exception{
		if (thread != null) {
			thread.join();
			(this.getRunResAsSimpleResultSet()).throwExceptionIfUnsuccessful();
			if (this.getRunException() != null) {
				throw this.getRunException();
			}
		}
		this.parametersJSON.clear();  
	}
private void waitForThreadToFinish ( Thread thread ) throws Exception { if ( thread != null ) { thread . join ( ) ; ( this . getRunResAsSimpleResultSet ( ) ) . throwExceptionIfUnsuccessful ( ) ; if ( this . getRunException ( ) != null ) { throw this . getRunException ( ) ; } } this . parametersJSON . clear ( ) ; }
Waits for the thread to finish, and throws an exception if not successful
Waits for the thread to finish and throws an exception if not successful
// clear parameters for next time