public void Generate(int count) throws Exception
    {
        if (count < 0 || count > 1000) throw new Exception();
        for (int i = 0; i < count; i++)
        {            
            try {
            _arrayOfPerson.add(new Person("Jack", "Pitt", 93));
            }
            catch (WrongAgeValueException ex)
            {
                System.out.println(ex);
            }
        }
    }