Class ErrorManager

java.lang.Object
org.medcare.igtl.util.ErrorManager

public abstract class ErrorManager extends Object
  • Field Details

  • Constructor Details

    • ErrorManager

      public ErrorManager()
      Default ErrorManager constructor.
  • Method Details

    • error

      public abstract void error(String message, Exception exception, int errorCode)
      Method to manage errors
      Parameters:
      message - message to log
      exception - exception to log
      errorCode - errorCode to log
    • getLogger

      public Logger getLogger()
      Method to get Logger used by this ErrorManager
      Returns:
      the Logger
    • setLogger

      public void setLogger(Logger logger)
      Method to set Logger used by this ErrorManager
      Parameters:
      logger - the Logger