Class ExceptionHandlers.LoggingExceptionHandler

    • Field Summary

      Fields 
      Modifier and Type Field Description
      private org.slf4j.Logger logger  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void handle​(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.Logger logger()  
      private void warn​(org.slf4j.Logger log, java.lang.Exception e)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • logger

        private final org.slf4j.Logger logger
    • Constructor Detail

      • LoggingExceptionHandler

        LoggingExceptionHandler​(org.slf4j.Logger logger)
    • Method Detail

      • handle

        public void handle​(java.lang.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,
                          java.lang.Exception e)
      • logger

        org.slf4j.Logger logger()