Class ExceptionHandlers.LoggingExceptionHandler

java.lang.Object
io.atlassian.fugue.retry.ExceptionHandlers.LoggingExceptionHandler
All Implemented Interfaces:
ExceptionHandler
Enclosing class:
ExceptionHandlers

static class ExceptionHandlers.LoggingExceptionHandler extends Object implements ExceptionHandler
  • Field Details

    • logger

      private final org.slf4j.Logger logger
  • Constructor Details

    • LoggingExceptionHandler

      LoggingExceptionHandler(org.slf4j.Logger logger)
  • Method Details

    • handle

      public void handle(RuntimeException e)
      Description copied from interface: ExceptionHandler
      Act on an exception, this method should be called by clients when an exception occurs in wrapped code.
      Specified by:
      handle in interface ExceptionHandler
      Parameters:
      e - the exception to handle
    • warn

      private void warn(org.slf4j.Logger log, Exception e)
    • logger

      org.slf4j.Logger logger()