public void queryTermination(EventObject eventObject)
throws TerminationVetoException {
TerminateEvent terminateEvent = new TerminateEvent(eventObject);
terminateListener.queryTermination(terminateEvent);
if (terminateEvent.getVeto())
throw new TerminationVetoException();
}