public class LocalCommitConflictException extends CommitConflictException
commit conflict exception
that indicates that the transaction has local conflicts
.
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 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.
Constructor and Description |
---|
LocalCommitConflictException(String message) |
Modifier and Type | Method and Description |
---|---|
boolean |
isLocal() |
wrap
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
public LocalCommitConflictException(String message)
public boolean isLocal()
isLocal
in class CommitException
Copyright (c) 2011, 2012 Eike Stepper (Berlin, Germany) and others.