ExtendedAccountContext accountContext)
throws IllegalActionException {
if (holdemTableListener == null)
throw new IllegalArgumentException("The given holdem table listener is not effective.");
if (!tables.containsKey(tableId)) {
throw new IllegalActionException("The provided table #" + tableId + " to join does not exist.");
}
PokerTable table = tables.get(tableId);
return table.joinTable(accountContext.getPlayer(), holdemTableListener);
}