}catch(Exception e){ log(admin, caid, LogEntry.MODULE_LOG, new java.util.Date(),null, null, LogEntry.EVENT_ERROR_EDITLOGCONFIGURATION,""); throw new EJBException(e); }
    public void saveLogConfiguration(Admin admin, int caid, LogConfiguration logconfiguration){      try{        try{          (logconfigurationhome.findByPrimaryKey(new Integer(caid))).saveLogConfiguration(logconfiguration);          log(admin, caid, LogEntry.MODULE_LOG, new java.util.Date(),null, null, LogEntry.EVENT_INFO_EDITLOGCONFIGURATION,"");        }catch(FinderException e){           logconfigurationhome.create(new Integer(caid),logconfiguration);           log(admin, caid, LogEntry.MODULE_LOG, new java.util.Date(),null, null, LogEntry.EVENT_INFO_EDITLOGCONFIGURATION,"");        }      }catch(Exception e){            log(admin, caid, LogEntry.MODULE_LOG, new java.util.Date(),null, null, LogEntry.EVENT_ERROR_EDITLOGCONFIGURATION,"");         throw new EJBException(e);      }    } // saveLogConfiguration