LogConstants.EVENT_INFO_HARDTOKENPROFILEDATA, msg);
} else {
String msg = intres.getLocalizedMessage("hardtoken.errorrenameprofile", oldname, newname);
logSession.log(admin, admin.getCaId(), LogConstants.MODULE_HARDTOKEN, new java.util.Date(), null, null,
LogConstants.EVENT_ERROR_HARDTOKENPROFILEDATA, msg);
throw new HardTokenProfileExistsException();
}
log.trace("<renameHardTokenProfile()");
}