private static ResultOrException getResultOrException(final Exception e, final int index) {
    return getResultOrException(ResponseConverter.buildActionResult(e), index);
  }
Instantiated as a scanner lease. If the lease times out, the scanner is closed
hbase-server/src/main/java/org/apache/hadoop/hbase/regionserver/RSRpcServices.java