Package io.lettuce.core.support.caching
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 fromCacheFrontend.get(Object, Callable)
in case of the value loader callback failing with an exception.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description ValueRetrievalException(String msg)
Create aValueRetrievalException
with the specified detail message.ValueRetrievalException(String msg, Throwable cause)
Create aValueRetrievalException
with the specified detail message and nested exception.
-
Method Summary
-
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
-
-
-
Constructor Detail
-
ValueRetrievalException
public ValueRetrievalException(String msg)
Create aValueRetrievalException
with the specified detail message.- Parameters:
msg
- the detail message.
-
-