Class JCacheNotFoundException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
com.giffing.bucket4j.spring.boot.starter.exception.Bucket4jGeneralException
com.giffing.bucket4j.spring.boot.starter.exception.JCacheNotFoundException
- All Implemented Interfaces:
java.io.Serializable
public class JCacheNotFoundException extends Bucket4jGeneralException
This exception should be thrown if no cache was found
- See Also:
- Serialized Form
-
Constructor Summary
Constructors Constructor Description JCacheNotFoundException(java.lang.String cacheName) -
Method Summary
Modifier and Type Method Description java.lang.StringgetCacheName()voidsetCacheName(java.lang.String cacheName)
-
Constructor Details
-
JCacheNotFoundException
public JCacheNotFoundException(java.lang.String cacheName)- Parameters:
cacheName- the missing cache key
-
-
Method Details
-
getCacheName
public java.lang.String getCacheName() -
setCacheName
public void setCacheName(java.lang.String cacheName)
-