error("Error saving default admin preference: ", e);
    public void saveDefaultAdminPreference(Admin admin, AdminPreference defaultadminpreference) {        debug(">saveDefaultAdminPreference()");        try {            AdminPreferencesDataLocal apdata = adminpreferenceshome.findByPrimaryKey(DEFAULTUSERPREFERENCE);            apdata.setAdminPreference(defaultadminpreference);            logsession.log(admin, LogEntry.MODULE_RA, new java.util.Date(), null, null,                LogEntry.EVENT_INFO_ADMINISTRATORPREFERENCECHANGED,                "Default administrator preference changed.");        } catch (Exception e) {            try {                logsession.log(admin, LogEntry.MODULE_RA, new java.util.Date(), null, null,                    LogEntry.EVENT_ERROR_ADMINISTRATORPREFERENCECHANGED,                    "Error saving default administrator preference.");            } catch (RemoteException re) {                throw new EJBException(e);            }            throw new EJBException(e);        }        debug("<saveDefaultAdminPreference()");    }