Updated address book to catch any exceptions and presented an error message explaining why the input failed