const classafMorphia::OptimisticLockErrsys::Obj sys::Err afMorphia::OptimisticLockErrThrown when updating an entity and a newer _version exists.makeSourcenew make(Str msg, Type type, Int version)typeSourceconst Type typeThe entity type being updated.versionSourceconst Int versionThe out-of-date version number.