Package org.cache2k.integration
Interface ExceptionPropagator<K>
-
@Deprecated public interface ExceptionPropagator<K>
Deprecated.Replaced withExceptionPropagator
, to be removed in version 2.2- Author:
- Jens Wilke
-
-
Method Summary
All Methods Instance Methods Abstract Methods Deprecated Methods Modifier and Type Method Description RuntimeException
propagateException(K key, ExceptionInformation exceptionInformation)
Deprecated.Generate runtime exception to throw.
-
-
-
Method Detail
-
propagateException
RuntimeException propagateException(K key, ExceptionInformation exceptionInformation)
Deprecated.Generate runtime exception to throw. The original exception is passed in as information. Every returned exception should be filled with a stack trace based on the current method call. This is done by the exception constructor automatically.- Parameters:
exceptionInformation
- information when the original exception occurred.
-
-