Module lettuce.core
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 from
CacheFrontend.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 aValueRetrievalExceptionwith the specified detail message.ValueRetrievalException(String msg, Throwable cause)Create aValueRetrievalExceptionwith 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 Details
-
ValueRetrievalException
Create aValueRetrievalExceptionwith the specified detail message.- Parameters:
msg- the detail message.
-
ValueRetrievalException
Create aValueRetrievalExceptionwith the specified detail message and nested exception.- Parameters:
msg- the detail message.cause- the nested exception.
-