public class EntityOutOfDateException extends ServiceException
Modifier and Type | Field and Description |
---|---|
static int |
UNKNOWN_VERSION |
Constructor and Description |
---|
EntityOutOfDateException(KeyedMessage message,
int expectedVersion,
int currentVersion) |
EntityOutOfDateException(KeyedMessage message,
Throwable cause) |
EntityOutOfDateException(KeyedMessage message,
Throwable cause,
int expectedVersion,
int currentVersion) |
Modifier and Type | Method and Description |
---|---|
int |
getCurrentVersion() |
int |
getExpectedVersion() |
getKeyedMessage, getLocalizedMessage, getMessageKey
addSuppressed, fillInStackTrace, getCause, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
public static final int UNKNOWN_VERSION
public EntityOutOfDateException(KeyedMessage message, Throwable cause)
public EntityOutOfDateException(KeyedMessage message, int expectedVersion, int currentVersion)
public EntityOutOfDateException(KeyedMessage message, Throwable cause, int expectedVersion, int currentVersion)
Copyright © 2022 Atlassian. All rights reserved.