Package org.eclipse.emf.cdo.transaction
Class CDOMerger.ConflictException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
org.eclipse.emf.cdo.common.util.CDOException
org.eclipse.emf.cdo.transaction.CDOMerger.ConflictException
- All Implemented Interfaces:
Serializable
- Enclosing interface:
CDOMerger
Thrown from a
merger in case of conflicting changes in the a source and target
change sets.- Since:
- 4.0
- Author:
- Eike Stepper
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionConflictException(String message, Throwable cause, CDOMerger merger, CDOChangeSetData result) Creates a conflict exception with a cause and partial merge result.ConflictException(String message, CDOMerger merger, CDOChangeSetData result) Creates a conflict exception with the partial merge result. -
Method Summary
Modifier and TypeMethodDescriptionReturns the merger that detected the conflict.Returns the partial merge result.Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
ConflictException
Creates a conflict exception with the partial merge result.- Parameters:
message- the detail message.merger- the merger that detected the conflict.result- the partial merge result.
-
ConflictException
public ConflictException(String message, Throwable cause, CDOMerger merger, CDOChangeSetData result) Creates a conflict exception with a cause and partial merge result.- Parameters:
message- the detail message.cause- the underlying cause.merger- the merger that detected the conflict.result- the partial merge result.
-
-
Method Details
-
getMerger
Returns the merger that detected the conflict.- Returns:
- the merger.
-
getResult
Returns the partial merge result.- Returns:
- the partial result.
-