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 SummaryConstructorsConstructorDescriptionIllegalEntityStateException(KeyedMessage message) IllegalEntityStateException(KeyedMessage message, Throwable cause) 
- 
Method SummaryMethods inherited from class com.atlassian.bitbucket.ServiceExceptiongetKeyedMessage, getLocalizedMessage, getMessageKeyMethods inherited from class java.lang.ThrowableaddSuppressed, fillInStackTrace, getCause, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
- 
Constructor Details- 
IllegalEntityStateException
- 
IllegalEntityStateException- Parameters:
- message- a message describing the failure
- cause- the cause of the failure, which may be- nullfor top-level failures
- Since:
- 6.6
 
 
-