Module lettuce.core

Class CacheFrontend.ValueRetrievalException

java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
io.lettuce.core.RedisException
io.lettuce.core.support.caching.CacheFrontend.ValueRetrievalException
All Implemented Interfaces:
Serializable
Enclosing interface:
CacheFrontend<K,​V>

public static class CacheFrontend.ValueRetrievalException
extends RedisException
Wrapper exception to be thrown from CacheFrontend.get(Object, Callable) in case of the value loader callback failing with an exception.
See Also:
Serialized Form
  • Constructor Details

    • ValueRetrievalException

      public ValueRetrievalException​(String msg)
      Create a ValueRetrievalException with the specified detail message.
      Parameters:
      msg - the detail message.
    • ValueRetrievalException

      public ValueRetrievalException​(String msg, Throwable cause)
      Create a ValueRetrievalException with the specified detail message and nested exception.
      Parameters:
      msg - the detail message.
      cause - the nested exception.