private void writeEvent(DateAndSentenceTuple tuple, Page p,
Stack<String> headingStack, int rank) {
Calendar c = tuple.getDate();
try {
Event e = new Event(p, tuple.getSentence(), c, getHeadingStringFromStack(headingStack), rank);
if(EventFilter.isGoodEvent(e)) {
eventDAO.create(e);
}
} catch (IllegalArgumentException e) {
//throw new RuntimeException("Caught exception attempting to add the event from this sentence:\n" + sentence, e);