if (!found) { logger.error("Could not find event["+eventName+"] referenced in Threat["+threat.getName()+"].");
if (!found) { logger.error("Could not find event["+eventName+"] referenced in Threat["+threat.getName()+"]. Threat will be ignored!");
    protected void setEventLinks(Vector allThreats, Vector allEvents) {             Iterator i = allThreats.iterator();        while (i.hasNext() ) {            ThreatDescription threat = (ThreatDescription)i.next();            String eventName = threat.getEventNameThreatCauses();            Iterator j = allEvents.iterator();            boolean found = false;            while (j.hasNext() ) {                EventDescription e = (EventDescription)j.next();                if (eventName.equals(e.getName()) ) {                    threat.setEventThreatCauses(e);                    found = true;                    break;                }            }            if (!found) {                logger.error("Could not find event["+eventName+"] referenced in Threat["+threat.getName()+"].");            }        }       }