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:
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(String cacheName) -
Method Summary
Modifier and Type Method Description StringgetCacheName()Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
JCacheNotFoundException
- Parameters:
cacheName- the missing cache key
-
-
Method Details
-
getCacheName
-