Package org.opencms.loader
Class CmsImageCacheEntryNotFoundException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.io.IOException
org.opencms.loader.CmsImageCacheEntryNotFoundException
- All Implemented Interfaces:
Serializable
Signals that an image cache entry disappeared after it had already been found locally.
External image caches use this exception to distinguish a stale local metadata entry from other storage errors. The image loader can then regenerate the derivative and retry its delivery once. Streaming methods must raise this exception before writing content to the supplied output stream.
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionCreates a new exception.CmsImageCacheEntryNotFoundException(String key, Throwable cause) Creates a new 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
-
CmsImageCacheEntryNotFoundException
Creates a new exception.- Parameters:
key- the missing image cache key
-
CmsImageCacheEntryNotFoundException
Creates a new exception.- Parameters:
key- the missing image cache keycause- the root cause
-