Class ErrorLogger.ErrorLoggerRunnable

java.lang.Object
org.ka2ddo.yaac.core.ErrorLogger.ErrorLoggerRunnable
All Implemented Interfaces:
Runnable
Enclosing class:
ErrorLogger

public static final class ErrorLogger.ErrorLoggerRunnable extends Object implements Runnable
Helper class for transferring error displays to the GUI dispatch thread.
  • Constructor Details

    • ErrorLoggerRunnable

      public ErrorLoggerRunnable(String errMsg)
      Create a helper for the specified error message.
      Parameters:
      errMsg - already localized String of error message
    • ErrorLoggerRunnable

      public ErrorLoggerRunnable(Throwable t, String errMsg)
      Create a helper for the specified error message.
      Parameters:
      t - Throwable to log
      errMsg - already localized String of error message
  • Method Details

    • run

      public void run()
      Execute on the GUI dispatch thread to display the error message.
      Specified by:
      run in interface Runnable