Class CacheRegistrationException

java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
net.flectone.pulse.exception.CacheRegistrationException
All Implemented Interfaces:
Serializable

public class CacheRegistrationException extends RuntimeException
Thrown when a cache is created twice, or asked for before it has been created.
See Also:
  • Constructor Details

    • CacheRegistrationException

      public CacheRegistrationException(String message, CacheName cacheName)
      Creates the exception, naming the cache the problem is about.
      Parameters:
      message - what went wrong
      cacheName - the cache