public class BadCacheFunctionRuntimeException extends RuntimeException
CacheFunction returns a null value,
which it never should. Consider using Optional as Value of the Cache
if its Function may not have values for some keys. This is a RuntimeException
because it always indicates a programmer's error in code (a bug). User code
invoking Cache.get(Object) should typically NOT catch this Exception,
but let it propagate.| Constructor and Description |
|---|
BadCacheFunctionRuntimeException(String message) |
BadCacheFunctionRuntimeException(String message,
Throwable cause) |
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toStringCopyright © 2019 OpenDaylight. All rights reserved.