Code Kata Walkthrough - Part IV
We left off the last post on a good refactoring session. Let’s take a look at the next kata requirement, which is to throw an exception when a negative number is passed in the list. The exception should include the negative number. If there are multiple negative numbers, then it should include all the numbers.