if(log.isDebugEnabled()) { log.error(getAgentIdentifier().toString()+"/"+this+" caught "+e); e.printStackTrace();
if(log.isErrorEnabled()) { log.error(getAgentIdentifier().toString()+"/"+this+" caught ", e);
  protected final void cycle() {    //boolean doExecute = false; // Synonymous with resetTransaction    try {        getBlackboardService().openTransaction();//      super.openTransaction();	// FIXME!!! Replace this if block?        //      if (wasAwakened() ||         //getBlackboardService().haveCollectionsChanged()) {        //doExecute = true;        execute();        //}    } catch (Exception e) {      synchronized (System.err) {        if(log.isDebugEnabled()) {          log.error(getAgentIdentifier().toString()+"/"+this+" caught "+e);          e.printStackTrace();        }      }      //doExecute = true;    } finally {      getBlackboardService().closeTransaction(true);    }  }