Package org.eclipse.emf.cdo.util
Class LocalCommitConflictException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- org.eclipse.emf.cdo.util.CommitException
-
- org.eclipse.emf.cdo.util.ConcurrentAccessException
-
- org.eclipse.emf.cdo.util.CommitConflictException
-
- org.eclipse.emf.cdo.util.LocalCommitConflictException
-
- All Implemented Interfaces:
java.io.Serializable
public class LocalCommitConflictException extends CommitConflictException
Acommit conflict exception
that indicates that the transaction has localconflicts
.It's usually possible and adequate to
rollback
the transaction, replay the model modifications and commit the transaction again (optimistic strategy). Pessimisticlocks
can help to avoid the problematic situation (see alsoCDOAutoLocker
).Instances of this class indicate commit conflicts that are detected locally by analyzing the
passive updates
that result from commits of other transactions.Conflict resolvers
can help to reduce the risk of local commit conflicts.- Since:
- 4.2
- Author:
- Eike Stepper
- See Also:
- Serialized Form
- No Extend
- This interface is not intended to be extended by clients.
- No Instantiate
- This class is not intended to be instantiated by clients.
-
-
Constructor Summary
Constructors Constructor Description LocalCommitConflictException(java.lang.String message)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
isLocal()
-
Methods inherited from class org.eclipse.emf.cdo.util.CommitException
wrap
-
-
-
-
Method Detail
-
isLocal
public boolean isLocal()
- Overrides:
isLocal
in classCommitException
-
-