|
|||||||||
前のクラス 次のクラス | フレームあり フレームなし | ||||||||
概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド |
java.lang.Objectjava.util.logging.Handler
jp.ne.mki.wedge.option.logger.handler.LogicErrorDialogHandler
public class LogicErrorDialogHandler
ロジッククラスにてException発生時 もしくは IO_ERROR_*** などの戻り値 が返された場合に表示する エラーダイアログは このHandlerによって表示されます。
ダイアログ表示対象ログは
LogicExceptionLogRecord もしくは LogicErrorLogRecord
かつ
LogRecordのログレベルが Level.WARNING以上
の場合になります。
このHandlerは RunClient起動時に自動的に Loggerに追加 されます。
jp.ne.mki.wedge.option.log.formatter.LogicErrorDialogFormatter
コンストラクタの概要 | |
---|---|
LogicErrorDialogHandler()
|
メソッドの概要 | |
---|---|
void |
close()
|
void |
flush()
|
java.util.logging.Formatter |
getFormatter()
フォーマットクラス取得 |
java.util.logging.Level |
getLevel()
レベル取得 |
void |
publish(java.util.logging.LogRecord record)
LogRecordがErrorLogRecord(RunClientにてエラーとして出力した情報)であり、 LevelがWarning以上の場合にダイアログとして表示する |
void |
setFormatter(java.util.logging.Formatter newFormatter)
フォーマットクラス設定 セキュリティチェック無し |
void |
setLevel(java.util.logging.Level newLevel)
レベル設定 セキュリティチェック無し |
クラス java.util.logging.Handler から継承されたメソッド |
---|
getEncoding, getErrorManager, getFilter, isLoggable, reportError, setEncoding, setErrorManager, setFilter |
クラス java.lang.Object から継承されたメソッド |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
コンストラクタの詳細 |
---|
public LogicErrorDialogHandler()
メソッドの詳細 |
---|
public void publish(java.util.logging.LogRecord record)
java.util.logging.Handler
内の publish
record
- ログレコードpublic void flush()
java.util.logging.Handler
内の flush
public void close()
java.util.logging.Handler
内の close
public void setFormatter(java.util.logging.Formatter newFormatter) throws java.lang.SecurityException
java.util.logging.Handler
内の setFormatter
java.lang.SecurityException
public java.util.logging.Formatter getFormatter()
java.util.logging.Handler
内の getFormatter
public void setLevel(java.util.logging.Level newLevel) throws java.lang.SecurityException
java.util.logging.Handler
内の setLevel
java.lang.SecurityException
public java.util.logging.Level getLevel()
java.util.logging.Handler
内の getLevel
|
|||||||||
前のクラス 次のクラス | フレームあり フレームなし | ||||||||
概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド |