logSession.log(admin, admin.getCaId(), LogConstants.MODULE_CA, new java.util.Date(), null, null, LogConstants.EVENT_ERROR_CACREATED, msg, e);
throw new EJBException(e);
}
}
try {
catoken.activate(authCode);
} catch (CATokenAuthenticationFailedException ctaf) {
String msg = intres.getLocalizedMessage("caadmin.errorcreatetokenpin");
logSession.log(admin, admin.getCaId(), LogConstants.MODULE_CA, new java.util.Date(), null, null, LogConstants.EVENT_ERROR_CACREATED, msg, ctaf);
throw ctaf;
} catch (CATokenOfflineException ctoe) {