Package com.inet.report.cache
Class KeyNotFoundException
java.lang.Object
java.lang.Throwable
java.lang.Exception
com.inet.report.ReportException
com.inet.report.cache.KeyNotFoundException
- All Implemented Interfaces:
com.inet.error.HasErrorCode
,Serializable
This exception will be thrown if ReportCacheKey is not found in the Cache.
This can occur if you
- have created the key with Cache.createKey(...)
- have created the key with the constructor
- a cache timeout has occurred and the key was removed from cache.
This can only occur if you do not use a new key returned by
getKey()
.
-
Constructor Summary
ConstructorDescriptionCreates a new KeyNotFoundException by the key -
Method Summary
Methods inherited from class com.inet.report.ReportException
getErrorCode, setCause, toString
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace
-
Constructor Details
-
KeyNotFoundException
Creates a new KeyNotFoundException by the key- Parameters:
key
- the key that could not be found in Cache- Since:
- 6.0
-