Class IllegalRepositoryStateException

All Implemented Interfaces:
Serializable
Direct Known Subclasses:
EmptyRepositoryException, RepositoryAlreadyExistsException, RepositoryArchivedException, RepositoryInconsistentException, RepositoryOfflineException, RepositoryReadOnlyException

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

    • IllegalRepositoryStateException

      public IllegalRepositoryStateException(@Nonnull KeyedMessage message)
    • IllegalRepositoryStateException

      public IllegalRepositoryStateException(@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:
      7.18