Skip to content

Commit

Permalink
exc final
Browse files Browse the repository at this point in the history
  • Loading branch information
hohwille committed Jan 3, 2024
1 parent fc0931b commit 6bc6c8a
Showing 1 changed file with 5 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -6,14 +6,14 @@
import io.github.mmm.entity.Entity;

/**
* {@link RuntimeException} thrown if optimistic locking failed. When a persistent {@link io.github.mmm.entity.Entity}
* is updated, optimistic locking will check that the {@link Id#getRevision() revision} of its {@link Id} matches the
* one from the {@link Entity} in the persistent store (e.g. database). If they do not match the update will fail with
* this exception.<br>
* {@link ApplicationException} thrown if optimistic locking failed. When a persistent
* {@link io.github.mmm.entity.Entity} is updated, optimistic locking will check that the {@link Id#getRevision()
* revision} of its {@link Id} matches the one from the {@link Entity} in the persistent store (e.g. database). If they
* do not match the update will fail with this exception.<br>
* This will prevent that two users that want to save changes to the same {@link Entity} concurrently may override each
* others changes.
*/
public class OptimisicLockException extends ApplicationException {
public final class OptimisicLockException extends ApplicationException {

/**
* The constructor.
Expand Down

0 comments on commit 6bc6c8a

Please sign in to comment.