{
String msg = "Database cannot be closed, associated Tx is still open." +
" Transaction status is '" + TxUtil.getStatusString(getTransaction().getStatus()) + "'." +
" Used PBKey was "+getTransaction().getBroker().getPBKey();
log.error(msg);
throw new TransactionInProgressException(msg);
}
isOpen = false;
// remove the current PBKey
pbKey = null;
// if we close current database, we have to notify implementation instance