}
if( e instanceof ConcurrentEntityStateModificationException )
{
// If we cancelled due to concurrent modification, then create the proper exception for it!
ConcurrentEntityStateModificationException mee = (ConcurrentEntityStateModificationException) e;
Collection<EntityReference> modifiedEntityIdentities = mee.modifiedEntities();
Collection<EntityComposite> modifiedEntities = new ArrayList<>();
for( EntityReference modifiedEntityIdentity : modifiedEntityIdentities )
{
Collection<EntityInstance> instances = instanceCache.values();
for( EntityInstance instance : instances )