Package com.atlassian.bitbucket.project
Class ProjectMovedException
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
- All Implemented Interfaces:
Serializable
Exception that is thrown when a
project key
has been changed and the project is retrieved
using the old key.- Since:
- 5.0
- See Also:
-
Constructor Summary
ConstructorDescriptionProjectMovedException
(Project project, String projectKey, KeyedMessage message) -
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
-
Constructor Details
-
ProjectMovedException
public ProjectMovedException(@Nonnull Project project, @Nonnull String projectKey, @Nonnull KeyedMessage message) - Since:
- 7.18
-
-
Method Details
-
getOldKey
-
getProject
-