Class CacheUnavailableException

java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
io.leandev.appfuse.cache.api.CacheUnavailableException
All Implemented Interfaces:
Serializable

public class CacheUnavailableException extends RuntimeException

必要的 cache state store 無法服務。

適用於一次性票券、redemption record 等不能以一般 cache miss 降級的流程;REST 邊界會將 此例外映射為 503,而不是誤判為無效憑證。

See Also:
  • Constructor Details

    • CacheUnavailableException

      public CacheUnavailableException(String message)