Package com.atlassian.bitbucket
Class IllegalEntityStateException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
com.atlassian.bitbucket.ServiceException
com.atlassian.bitbucket.IllegalEntityStateException
- All Implemented Interfaces:
Serializable
- Direct Known Subclasses:
AlreadyLabeledException
,ApplyLabelException
,FileAlreadyExistsException
,FileContentUnmodifiedException
,IllegalPullRequestStateException
,IllegalRepositoryStateException
,IllegalRollingUpgradeStateException
,IllegalUserStateException
,InvalidMeshNodeKeyException
,InvalidMeshNodeStateException
,InvalidMeshNodeUrlException
,MeshNodeNameAlreadyExistsException
,MeshNodeUrlAlreadyExistsException
,UnprocessedProjectSettingsRestrictionException
Thrown to indicate an entity's internal state was not acceptable for performing a requested operation. Where
possible, specialised subclasses should be thrown, rather than this generic base class. Additionally, because
the contract for this exception is intentionally vague, methods which may throw it should explicitly document
the triggering conditions.
- See Also:
-
Constructor Summary
ConstructorDescriptionIllegalEntityStateException
(KeyedMessage message) IllegalEntityStateException
(KeyedMessage message, Throwable cause) -
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
-
IllegalEntityStateException
-
IllegalEntityStateException
- Parameters:
message
- a message describing the failurecause
- the cause of the failure, which may benull
for top-level failures- Since:
- 6.6
-