const classafMorphia::OptimisticLockErrsys::Obj sys::Err afMorphia::MorphiaErr afMorphia::OptimisticLockErrThrown by Datastore.update() when it tried to update an entity when newer data exists.makeSourcenew make(Str msg, Type type, Int version)typeSourceconst Type typeThe entity type being updated.versionSourceconst Int versionThe out-of-date version number.