It throws a BowlingException in three spots, and although one is thrown at the very end of the method???at least in terms of writing???they all signal a violations of a precondition: Either the game is already finished, i.e. all frames have been rolled, or an individual roll was out of range (either a negative number or above ten), or the sum of two rolls of the same frame exceeded ten in sum.