success = true;
} catch (Exception e) {
LOG.error("Can't rename admingroup: ", e);
}
} else {
throw new AdminGroupExistsException();
}
if (success) {
final String msg = INTRES.getLocalizedMessage("authorization.admingrouprenamed", oldname, newname);
logSession.log(admin, LogConstants.INTERNALCAID, LogConstants.MODULE_RA, new java.util.Date(), null, null,
LogConstants.EVENT_INFO_EDITEDADMINISTRATORPRIVILEGES, msg);