code: @Override
    public HTableDescriptor getTableDescriptor(TableName tableName) throws IOException {
      if (tableName == null) {
        return null;
      }
  
      try {
        return tableAdapter.adapt(tableAdminClientWrapper.getTable(tableName.getNameAsString()));
      } catch (Throwable throwable) {
        if (Status.fromThrowable(throwable).getCode() == Status.Code.NOT_FOUND) {
          throw new TableNotFoundException(tableName);
        }
        throw new IOException("Failed to getTableDescriptor() on " + tableName, throwable);
      }
    }
docs: {@inheritDoc}