public class CommitConflictException extends ConcurrentAccessException
concurrent access exception
that indicates that some of the local modifications are based on old revisions
because other transactions have intermittently committed their modifications.
It's usually possible and adequate to rollback
the transaction, replay the model modifications and
commit the transaction again (optimistic strategy). Pessimistic locks
can help to avoid the problematic situation
(see also CDOAutoLocker
).
Instances of this class indicate commit conflicts that are detected in the repository. They can also occur if a conflict resolver
is used locally (network race condition).
For detection of local commit conflicts see LocalCommitConflictException
.
Constructor and Description |
---|
CommitConflictException(String message) |
isLocal, wrap
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
public CommitConflictException(String message)
Copyright (c) 2011-2014 Eike Stepper (Berlin, Germany) and others.