public static IOException handleRemoteException(Throwable e) {
    return makeIOExceptionOfException(e);
  }
Like {@link #getRemoteException(ServiceException)} but more generic, able to handle more than
just {@link ServiceException}. Prefer this method to
{@link #getRemoteException(ServiceException)} because trying to contain direct protobuf
references.
hbase-client/src/main/java/org/apache/hadoop/hbase/shaded/protobuf/ProtobufUtil.java