public class RevisionConflictException
extends java.lang.Exception
RevisionConflictException indicates that a development branch
is based on an version that is too old with respect to the latest revision.
This occurs when having several development branches with concurrent
modifications and one of them is released.| Constructor and Description |
|---|
RevisionConflictException(Revision baseRevision,
Revision latestRevision)
Creates a new exception indicating that a branch is based on an old
revision but not on the latest revision.
|
| Modifier and Type | Method and Description |
|---|---|
Revision |
getBaseRevision()
Gets the base revision of the branch that caused this conflict, that is,
the revision that is too old now.
|
Revision |
getLatestRevision()
Gets the latest revision that is needed for a version that is to be
released.
|
public RevisionConflictException(Revision baseRevision, Revision latestRevision)
baseRevision - The base revision of the branch that caused this
conflict.latestRevision - The latest revision the branch should have to be
released.public Revision getBaseRevision()
public Revision getLatestRevision()