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.String getCacheName()  
    void setCacheName​(java.lang.String cacheName)  

    Methods inherited from class java.lang.Throwable

    addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
  • 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)