registry.rollbackTransaction();
}
if (e instanceof RegistryException) {
throw (RegistryException)e;
} else {
throw new IdentityException("Error occured while creating new infromation card", e);
}
}
if (log.isDebugEnabled()) {
log.debug("New information card added successfully, " + card.getCardId());
}
} catch (RegistryException e) {
log.error("Error occured while creating new infromation card", e);
throw new IdentityException("Error occured while creating new infromation card", e);
}
}