try {
if (!this.assignmentManager.getZKTable()
.checkEnabledAndSetDisablingTable(this.tableNameStr)) {
LOG.info("Table " + tableNameStr
+ " isn't enabled; skipping disable");
throw new TableNotEnabledException(this.tableNameStr);
}
} catch (KeeperException e) {
tableLockManager.unlockTable(tableNameStr);
throw new IOException("Unable to ensure that the table will be"
+ " disabling because of a ZooKeeper issue", e);