public void addEvent(Job event) throws Exception{
        if(!(event instanceof DatedEvent) || !(event instanceof SimpleEvent)){
            throw new IllegalEventTypeException();
        }
        if(event instanceof DatedEvent){
            if(((DatedEvent)event).getDate().before(new Date(System.currentTimeMillis()))){
                throw new DataFormatException();
            }
            incomingEvents.add(event);
        } else {
            scheduleRecurrancyEvent(((RecurringEvent)event));
        }
    }