validateMaximum(playerBet, exception) {
      var mainAction = playerBet.getBetAction();
      if (mainAction + this.getPlayerActionById(playerBet['pid'], false, exception) > this.highLimit) {
        throw new GameMaximumError("Your table action exceeds the maximum.");
      } else if (playerBet['bet']['isCenter'] && (mainAction +
                 this.getPlayerActionById(playerBet['pid'], true, exception) > this.highCenter)) {
        throw new GameMaximumError("Your center action exceeds the maximum.");
      }
      return mainAction + this.getPlayerActionById(playerBet['pid'], false, exception);
    }
/*
     * Verify the maximum wager amount for the table is not exceeded.
     * @param playerBet [PlayerBet] The bet a player wishes to make.
     * @param exception [PlayerBet] A bet to not count in the maximum.
     * @return [Number] The value of the action for the bet.
     * @throws [GameMaximumError] The table maximum is exceeded.
     */
Verify the maximum wager amount for the table is not exceeded.
@param playerBet [PlayerBet] The bet a player wishes to make.
@param exception [PlayerBet] A bet to not count in the maximum.
@return [Number] The value of the action for the bet.
@throws [GameMaximumError] The table maximum is exceeded.
Verify the maximum wager amount for the table is not exceeded . @param playerBet [ PlayerBet ] The bet a player wishes to make . @param exception [ PlayerBet ] A bet to not count in the maximum . @return [ Number ] The value of the action for the bet . @throws [ GameMaximumError ] The table maximum is exceeded .
validateMaximum(playerBet, exception) {
      var mainAction = playerBet.getBetAction();
      if (mainAction + this.getPlayerActionById(playerBet['pid'], false, exception) > this.highLimit) {
        throw new GameMaximumError("Your table action exceeds the maximum.");
      } else if (playerBet['bet']['isCenter'] && (mainAction +
                 this.getPlayerActionById(playerBet['pid'], true, exception) > this.highCenter)) {
        throw new GameMaximumError("Your center action exceeds the maximum.");
      }
      return mainAction + this.getPlayerActionById(playerBet['pid'], false, exception);
    }
validateMaximum ( playerBet , exception ) { var mainAction = playerBet . getBetAction ( ) ; if ( mainAction + this . getPlayerActionById ( playerBet [ 'pid' ] , false , exception ) > this . highLimit ) { throw new GameMaximumError ( "Your table action exceeds the maximum." ) ; } else if ( playerBet [ 'bet' ] [ 'isCenter' ] && ( mainAction + this . getPlayerActionById ( playerBet [ 'pid' ] , true , exception ) > this . highCenter ) ) { throw new GameMaximumError ( "Your center action exceeds the maximum." ) ; } return mainAction + this . getPlayerActionById ( playerBet [ 'pid' ] , false , exception ) ; }
Verify the maximum wager amount for the table is not exceeded.
Verify the maximum wager amount for the table is not exceeded .