OTX Reference  
OpenTestSystem.Otx.Core.Exceptions.ConcurrentModificationException Class Reference

Concurrent modification of a collection More...

Inheritance diagram for OpenTestSystem.Otx.Core.Exceptions.ConcurrentModificationException:
Inheritance graph

Detailed Description

Concurrent modification of a collection

This exception occurs when the collection value of a for-each-loop is modified during ForEachLoop execution. Such modifications can happen from the outside (e.g. from other parallel lanes) or in the loop itself. It can also occur inside actions which internally iterate, e.g. ListCopy or MapCopy. All actions derived from ListModifier or MapModifier count as a collection modification. In any case, this may cause serious inconsistencies which can be handled by catching this exception.

See also
Terms.ListCopy, Terms.MapCopy, Actions.ListModifier, Actions.MapModifier