thresholdReached(); } catch (Exception e) { VM.sysWrite("AOS: WARNING: exception in organizer "+this+"\n");
thresholdReached(); if (listener != null) listener.reset(); } catch (Exception e) {
  public void run() {    initialize();    while (true) {      // sleep until awoken      synchronized(this) {        try {	  wait();        }        catch (InterruptedException e) {	  e.printStackTrace();        }      }      // we've been awoken, process the information      try {	thresholdReached();      }      catch (Exception e) {	VM.sysWrite("AOS: WARNING: exception in organizer "+this+"\n");	e.printStackTrace();	// Is there a more elegant way to make this exception fatal to	// the application?	System.exit(-1);      }    }   }