public class

ProjectMovedException

extends EntityMovedException
java.lang.Object
   ↳ java.lang.Throwable
     ↳ java.lang.Exception
       ↳ java.lang.RuntimeException
         ↳ com.atlassian.bitbucket.ServiceException
           ↳ com.atlassian.bitbucket.EntityMovedException
             ↳ com.atlassian.bitbucket.project.ProjectMovedException

Class Overview

Exception that is thrown when a project key or namespace has been changed and the project is retrieved using the old key/namespace.

Summary

Public Constructors
ProjectMovedException(Project project, String projectNamespace, String projectKey, KeyedMessage message)
Public Methods
@Nonnull String getOldKey()
@Nullable String getOldNamespace()
@Nonnull Project getProject()
[Expand]
Inherited Methods
From class com.atlassian.bitbucket.ServiceException
From class java.lang.Throwable
From class java.lang.Object

Public Constructors

public ProjectMovedException (Project project, String projectNamespace, String projectKey, KeyedMessage message)

Public Methods

@Nonnull public String getOldKey ()

@Nullable public String getOldNamespace ()

@Nonnull public Project getProject ()