Class IllegalRepositoryStateException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
com.atlassian.bitbucket.ServiceException
com.atlassian.bitbucket.IllegalEntityStateException
com.atlassian.bitbucket.repository.IllegalRepositoryStateException
- All Implemented Interfaces:
Serializable
- Direct Known Subclasses:
EmptyRepositoryException
,RepositoryAlreadyExistsException
,RepositoryArchivedException
,RepositoryInconsistentException
,RepositoryOfflineException
,RepositoryReadOnlyException
Thrown to indicate an operation could not be completed because the
repository
was not in the
expected state
. For example, attempting to retry creating a repository might throw this
exception if the repository was already created successfully.- See Also:
-
Constructor Summary
Constructors -
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
-
IllegalRepositoryStateException
-
IllegalRepositoryStateException
- Parameters:
message
- a message describing the failurecause
- the cause of the failure, which may benull
for top-level failures- Since:
- 7.18
-