クラス LogicErrorDialogHandler

java.lang.Object
java.util.logging.Handler
jp.ne.mki.wedge.option.logger.handler.LogicErrorDialogHandler

public class LogicErrorDialogHandler extends Handler

ロジッククラスにてエラー発生時のダイアログ表示用HANDLER

ロジッククラスにてException発生時 もしくは IO_ERROR_*** などの戻り値 が返された場合に表示する エラーダイアログは このHandlerによって表示されます。

ダイアログ表示対象ログは
LogicExceptionLogRecord もしくは LogicErrorLogRecord
かつ
LogRecordのログレベルが Level.WARNING以上
の場合になります。

このHandlerは RunClient起動時に自動的に Loggerに追加 されます。

導入されたバージョン:
ver1.2.0
関連項目:
  • 無効な参照です
    jp.ne.mki.wedge.option.log.formatter.LogicErrorDialogFormatter
  • コンストラクタの詳細

    • LogicErrorDialogHandler

      public LogicErrorDialogHandler()
  • メソッドの詳細

    • publish

      public void publish(LogRecord record)
      LogRecordがErrorLogRecord(RunClientにてエラーとして出力した情報)であり、 LevelがWarning以上の場合にダイアログとして表示する
      定義:
      publish クラス内 Handler
      パラメータ:
      record - ログレコード
    • flush

      public void flush()
      定義:
      flush クラス内 Handler
    • close

      public void close()
      定義:
      close クラス内 Handler
    • setFormatter

      public void setFormatter(Formatter newFormatter) throws SecurityException
      フォーマットクラス設定 セキュリティチェック無し
      オーバーライド:
      setFormatter クラス内 Handler
      例外:
      SecurityException
    • getFormatter

      public Formatter getFormatter()
      フォーマットクラス取得
      オーバーライド:
      getFormatter クラス内 Handler
    • setLevel

      public void setLevel(Level newLevel) throws SecurityException
      レベル設定 セキュリティチェック無し
      オーバーライド:
      setLevel クラス内 Handler
      例外:
      SecurityException
    • getLevel

      public Level getLevel()
      レベル取得
      オーバーライド:
      getLevel クラス内 Handler