java/kudu-client/src/main/java/org/apache/kudu/client/KuduClient.java
static <R> R joinAndHandleException(Deferred<R> deferred) throws KuduException {
    try {
      return deferred.join();
    } catch (Exception e) {
      throw KuduException.transformException(e);
    }
  }
// Helper method to handle joining and transforming the Exception we receive.
Helper method to handle joining and transforming the Exception we receive.
Helper method to handle joining and transforming the Exception we receive .
static <R> R joinAndHandleException(Deferred<R> deferred) throws KuduException {
    try {
      return deferred.join();
    } catch (Exception e) {
      throw KuduException.transformException(e);
    }
  }
static < R > R joinAndHandleException ( Deferred < R > deferred ) throws KuduException { try { return deferred . join ( ) ; } catch ( Exception e ) { throw KuduException . transformException ( e ) ; } }
Helper method to handle joining and transforming the Exception we receive.
Helper method to handle joining and transforming the Exception we receive .