if (piCurrent != null) {
// A non-null piCurrent means that a TxServerInterceptor was
// installed: check if there is a transaction propagation context
try {
Any any = piCurrent.get_slot(slotId);
if (any.type().kind().value() != TCKind._tk_null) {
// Yes, there is a TPC: add the foreign transaction marker
tx = ForeignTransaction.INSTANCE;
}
} catch (InvalidSlot e) {
throw JacORBLogger.ROOT_LOGGER.errorGettingSlotInTxInterceptor(e);