Restricts throws statements to a specified count (default = 1).