question: private void handleDoneQuery ( final UUID queryId , final Future < Void > doneQueryFuture ) { try { doneQueryFuture . get ( ) ; throw new InterruptedException ( ) ; } catch ( InterruptedException e ) { throw new RuntimeException ( e ) ; } catch ( ExecutionException e ) { throw new RuntimeException ( e ) ; } }
target:  Handle a recently halted query by throwing an appropriate exception.