throw new BrokerException(br.getString(
BrokerResources.E_TRANSACTIONID_NOT_FOUND_IN_STORE, id),
Status.NOT_FOUND);
}
TransactionState txnState = txnInfo.getTransactionState();
if (txnState.getState() != expectedTxnState) {
Object[] args = { txnBkr, id,
TransactionState.toString(expectedTxnState),
TransactionState.toString(txnState.getState()) };
throw new BrokerException(br.getKString( BrokerResources.E_UPDATE_TXNBROKER_FAILED,
args ), Status.CONFLICT);
}
txnInfo.updateBrokerState(txnBkr);