// check for exception, but don't throw if suppressed through thread-local
final Version otherVersion = originalOid.getVersion();
final Version thisVersion = recreatedOid.getVersion();
if(thisVersion != null &&
otherVersion != null &&
thisVersion.different(otherVersion)) {
if(isConcurrencyCheckingGloballyEnabled() && ConcurrencyChecking.isCurrentlyEnabled()) {
LOG.info("concurrency conflict detected on " + recreatedOid + " (" + otherVersion + ")");
final String currentUser = getAuthenticationSession().getUserName();
throw new ConcurrencyException(currentUser, recreatedOid, thisVersion, otherVersion);