Class RepositoryMovedException

All Implemented Interfaces:
Serializable

public class RepositoryMovedException extends EntityMovedException
Exception that is thrown when a repository is retrieved using an old slug, project key or namespace value after any of these three fields have been updated (e.g. repository was renamed, moved to a different project or the project key was changed).
Since:
5.0
See Also:
  • Constructor Details

    • RepositoryMovedException

      public RepositoryMovedException(@Nonnull Repository repository, @Nonnull String projectKey, @Nonnull String slug, @Nonnull KeyedMessage message)
      Since:
      7.18
  • Method Details

    • getOldProjectKey

      @Nonnull public String getOldProjectKey()
    • getOldSlug

      @Nonnull public String getOldSlug()
    • getRepository

      @Nonnull public Repository getRepository()