Refactoring TODOlist and ADDRESSBOOK to use exceptions.