thrownewIllegalStateException("Looked up code "+code+" and got EventUser "+eventUser.getId()+" from event "+eventId+" which is not the current event "+currentEventId);
if(eventId!=currentEventId){
thrownewIllegalStateException("Looked up code "+code+" and got EventUser "+eventUser.getId()+" from event "+eventId+" which is not the current event "+currentEventId);