Package org.springframework.cache
Class Cache.ValueRetrievalException
- java.lang.Object
- java.lang.Throwable
- java.lang.Exception
- java.lang.RuntimeException
- org.springframework.cache.Cache.ValueRetrievalException
- All Implemented Interfaces:
Serializable
- Enclosing interface:
- Cache
public static class Cache.ValueRetrievalException extends RuntimeException
Wrapper exception to be thrown fromCache.get(Object, Callable)
in case of the value loader callback failing with an exception.- Since:
- 4.3
- See Also:
- Serialized Form
Constructor Summary
Constructors Constructor Description ValueRetrievalException(Object key, Callable<?> loader, Throwable ex)
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Object
getKey()
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString