// throw new EmployeeNameDoesNotExistsInPersistenceException(null);
return employeesMap;
}
if (!system.people.containsKey(id)) {
throw new EmployeeNameDoesNotExistsInPersistenceException(id);
} else {
if (!((Person) system.people.get(id)).isPersonType("employee")) {
throw new EmployeeNameDoesNotExistsInPersistenceException(id);
}
}
return system.people.get(id);
}