void refreshScoreSum(Frame frame, Integer frameIdx) throws UnexpectedTypeException {
		if(frame.getScoreStatus() != ScoreStatus.FINAL) {
			return;
		}

		Integer previousScore = 0;
		if(frameIdx > 0) {
			previousScore = scoreSum[frameIdx - 1];
		}

		scoreSum[frameIdx] = previousScore + frame.getScore(ScoreType.TOTAL);
		if(totalScore < scoreSum[frameIdx]) {
			totalScore = scoreSum[frameIdx];
		}
		setScoreSum(frameIdx, scoreSum[frameIdx]);
	}