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 exceptionthat indicates that the transaction has localconflicts.It's usually possible and adequate to
rollbackthe transaction, replay the model modifications and commit the transaction again (optimistic strategy). Pessimisticlockscan help to avoid the problematic situation (see alsoCDOAutoLocker).Instances of this class indicate commit conflicts that are detected locally by analyzing the
passive updatesthat result from commits of other transactions.Conflict resolverscan 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 booleanisLocal()-
Methods inherited from class org.eclipse.emf.cdo.util.CommitException
wrap
-
-
-
-
Method Detail
-
isLocal
public boolean isLocal()
- Overrides:
isLocalin classCommitException
-
-