package org.infinispan.commons;

/**
 * This exception is thrown when the cache or cache manager does not have the
 * right lifecycle state for operations to be called on it. Situations like
 * this include when the cache is stopping or is stopped, when the cache
 * manager is stopped...etc.
 *
 * @since 10.1 (prior was in org.infinispan package since 7.0)
 */
public class IllegalLifecycleStateException extends CacheException {
   public IllegalLifecycleStateException() {
   }

   public IllegalLifecycleStateException(String s) {
      super(s);
   }

   public IllegalLifecycleStateException(String message, Throwable cause) {
      super(message, cause);
   }

   public IllegalLifecycleStateException(Throwable cause) {
      super(cause);
   }
}
