Class LogExceptionHandler

java.lang.Object
overit.geocall.util.LogExceptionHandler
All Implemented Interfaces:
ExceptionHandler

public class LogExceptionHandler extends Object implements ExceptionHandler
Implementation of an Excetonhandler that logs all Exceotions to a LogChannel
  • Field Details

  • Constructor Details

    • LogExceptionHandler

      public LogExceptionHandler(LogChannel lc)
      a constructor specifying a LogChannel to be used for logging
      Parameters:
      lc - the LogChannel to be used for logging
  • Method Details

    • onException

      public void onException(Exception e)
      Description copied from interface: ExceptionHandler
      Implementations of this method must react to an Exception
      Specified by:
      onException in interface ExceptionHandler
      Parameters:
      e - the expcetion to react to