try {
HTableInterface nonAuthHTable = LilyHBaseSchema.getRecordTable(hbaseTableFactory, key.getRepositoryName(), key.getTableName(), true);
HTableInterface htable = wrapWithAuthorization(nonAuthHTable);
return new HBaseRepository(key, this, htable, nonAuthHTable, blobManager, tableManager, getRecordFactory());
} catch (org.apache.hadoop.hbase.TableNotFoundException e) {
throw new TableNotFoundException(key.getRepositoryName(), key.getTableName());
} catch (IOException e) {
throw new RepositoryException(e);
}
}