Addresses (10)

      // method loadAddresses continued
      while (true) {
         try {
            newAddr = loadAddress();
            if (newAddr == null)
               return list;
            list.addAddress(newAddr);
         } catch (Exception e) {
            System.out.println(
                 "Error loading file");
            System.exit(1);
         }
      }
   }
}


Slide 18 ©Copyright 1997 Jan Newmarch