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
,java.io.Serializable
public class KeyNotFoundException extends ReportException
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
Constructors Constructor Description KeyNotFoundException(ReportCacheKey key)
Creates a new KeyNotFoundException by the key
-
Method Summary
-
Methods inherited from class com.inet.report.ReportException
getErrorCode, setCause, toString
-
-
-
-
Constructor Detail
-
KeyNotFoundException
public KeyNotFoundException(ReportCacheKey key)
Creates a new KeyNotFoundException by the key- Parameters:
key
- the key that could not be found in Cache- Since:
- 6.0
-
-