Package io.atlassian.fugue.retry
Interface ExceptionHandler
-
- All Known Implementing Classes:
ExceptionHandlers.CompositeExceptionHandler,ExceptionHandlers.IgnoreExceptionHandler,ExceptionHandlers.LoggingExceptionHandler
public interface ExceptionHandlerTakes action when an Exception is thrown. Examples include placing a delay in execution when performing back-offs and logging errors when exceptions are encountered.- See Also:
for some predefined handlers
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidhandle(java.lang.RuntimeException exception)Act on an exception, this method should be called by clients when an exception occurs in wrapped code.
-