}
update = sharedStateMgr.beginUpdate(txLog, factory, virtualProvider);
} catch (ReferentialIntegrityException rie) {
log.error(rie.getMessage(), rie);
txLog.undo(sharedStateMgr);
throw new TransactionException("Unable to prepare transaction.", rie);
} catch (ItemStateException ise) {
log.error(ise.getMessage(), ise);
txLog.undo(sharedStateMgr);
throw new TransactionException("Unable to prepare transaction.", ise);
}
}
}