Package io.atlassian.fugue.retry
Class ExceptionHandlers.LoggingExceptionHandler
- java.lang.Object
-
- io.atlassian.fugue.retry.ExceptionHandlers.LoggingExceptionHandler
-
- All Implemented Interfaces:
ExceptionHandler
- Enclosing class:
- ExceptionHandlers
static class ExceptionHandlers.LoggingExceptionHandler extends java.lang.Object implements ExceptionHandler
-
-
Field Summary
Fields Modifier and Type Field Description private org.slf4j.Loggerlogger
-
Constructor Summary
Constructors Constructor Description LoggingExceptionHandler(org.slf4j.Logger logger)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidhandle(java.lang.RuntimeException e)Act on an exception, this method should be called by clients when an exception occurs in wrapped code.(package private) org.slf4j.Loggerlogger()private voidwarn(org.slf4j.Logger log, java.lang.Exception e)
-
-
-
Method Detail
-
handle
public void handle(java.lang.RuntimeException e)
Description copied from interface:ExceptionHandlerAct on an exception, this method should be called by clients when an exception occurs in wrapped code.- Specified by:
handlein interfaceExceptionHandler- Parameters:
e- the exception to handle
-
warn
private void warn(org.slf4j.Logger log, java.lang.Exception e)
-
logger
org.slf4j.Logger logger()
-
-