public class VersionConflictException extends PortalRuntimeException
Constructor and Description |
---|
VersionConflictException(WebCenterMessage message, java.lang.String expectedVersion, java.lang.String currentVersion)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getCurrentVersion()
Get the current version of the object, as found in the persistence store.
|
java.lang.String |
getExpectedVersion()
Get the expected version of the object, as specified by the PropertyBean passed to the object.
|
public VersionConflictException(WebCenterMessage message, java.lang.String expectedVersion, java.lang.String currentVersion)
message
- Message to display to the user.expectedVersion
- The version the caller was expecting to update.currentVersion
- The current version of the object from the persistence store.public java.lang.String getExpectedVersion()
public java.lang.String getCurrentVersion()