Class IllegalEntityStateException

All Implemented Interfaces:
Serializable
Direct Known Subclasses:
AlreadyLabeledException, ApplyLabelException, FileAlreadyExistsException, FileContentUnmodifiedException, IllegalPullRequestStateException, IllegalRepositoryStateException, IllegalRollingUpgradeStateException, IllegalUserStateException, InvalidMeshNodeKeyException, InvalidMeshNodeStateException, InvalidMeshNodeUrlException, MeshNodeNameAlreadyExistsException, MeshNodeUrlAlreadyExistsException, UnprocessedProjectSettingsRestrictionException

public class IllegalEntityStateException extends ServiceException
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 Details

    • IllegalEntityStateException

      public IllegalEntityStateException(@Nonnull KeyedMessage message)
    • IllegalEntityStateException

      public IllegalEntityStateException(@Nonnull KeyedMessage message, @Nullable Throwable cause)
      Parameters:
      message - a message describing the failure
      cause - the cause of the failure, which may be null for top-level failures
      Since:
      6.6