Class EntityOutOfDateException

All Implemented Interfaces:
Serializable
Direct Known Subclasses:
CommentOutOfDateException, FileOutOfDateException, HookScriptOutOfDateException, PullRequestOutOfDateException

public class EntityOutOfDateException extends ServiceException
See Also:
  • Field Details

  • Constructor Details

    • EntityOutOfDateException

      public EntityOutOfDateException(KeyedMessage message, Throwable cause)
    • EntityOutOfDateException

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

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

    • getCurrentVersion

      public int getCurrentVersion()
    • getExpectedVersion

      public int getExpectedVersion()