public class

EntityOutOfDateException

extends ServiceException
java.lang.Object
   ↳ java.lang.Throwable
     ↳ java.lang.Exception
       ↳ java.lang.RuntimeException
         ↳ com.atlassian.bitbucket.ServiceException
           ↳ com.atlassian.bitbucket.EntityOutOfDateException
Known Direct Subclasses

Summary

Constants
int UNKNOWN_VERSION
Public Constructors
EntityOutOfDateException(KeyedMessage message, Throwable cause)
EntityOutOfDateException(KeyedMessage message, int expectedVersion, int currentVersion)
EntityOutOfDateException(KeyedMessage message, Throwable cause, int expectedVersion, int currentVersion)
Public Methods
int getCurrentVersion()
int getExpectedVersion()
[Expand]
Inherited Methods
From class com.atlassian.bitbucket.ServiceException
From class java.lang.Throwable
From class java.lang.Object

Constants

public static final int UNKNOWN_VERSION

Constant Value: -1 (0xffffffff)

Public Constructors

public EntityOutOfDateException (KeyedMessage message, Throwable cause)

public EntityOutOfDateException (KeyedMessage message, int expectedVersion, int currentVersion)

public EntityOutOfDateException (KeyedMessage message, Throwable cause, int expectedVersion, int currentVersion)

Public Methods

public int getCurrentVersion ()

public int getExpectedVersion ()