} catch (IllegalActionException e) {
throw new IllegalActionException("Joining table " + mediatingTable.getTableId().toString()
+ " is not a valid action." + e.getMessage());
}
player.setSittingIn(true);
mediatingTable.publishSitInEvent(new SitInEvent(player.getMemento()));
return new HoldemPlayerContextImpl(player, mediatingTable);
}