Package com.atlassian.bitbucket
Class EntityOutOfDateException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
com.atlassian.bitbucket.ServiceException
com.atlassian.bitbucket.EntityOutOfDateException
- All Implemented Interfaces:
Serializable
- Direct Known Subclasses:
CommentOutOfDateException
,FileOutOfDateException
,HookScriptOutOfDateException
,PullRequestOutOfDateException
- See Also:
-
Field Summary
-
Constructor Summary
ConstructorDescriptionEntityOutOfDateException
(KeyedMessage message, int expectedVersion, int currentVersion) EntityOutOfDateException
(KeyedMessage message, Throwable cause) EntityOutOfDateException
(KeyedMessage message, Throwable cause, int expectedVersion, int currentVersion) -
Method Summary
Methods inherited from class com.atlassian.bitbucket.ServiceException
getKeyedMessage, getLocalizedMessage, getMessageKey
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Field Details
-
UNKNOWN_VERSION
public static final int UNKNOWN_VERSION- See Also:
-
-
Constructor Details
-
EntityOutOfDateException
-
EntityOutOfDateException
-
EntityOutOfDateException
public EntityOutOfDateException(KeyedMessage message, Throwable cause, int expectedVersion, int currentVersion)
-
-
Method Details
-
getCurrentVersion
public int getCurrentVersion() -
getExpectedVersion
public int getExpectedVersion()
-