Holger's
Java API

com.antelmann.util.logging
Class ExceptionDialogWriter

java.lang.Object
  extended by com.antelmann.util.logging.AbstractLogWriter<Throwable>
      extended by com.antelmann.util.logging.AbstractExceptionWriter
          extended by com.antelmann.util.logging.ExceptionDialogWriter
All Implemented Interfaces:
Filter<LogEntry>, LogWriter

public class ExceptionDialogWriter
extends AbstractExceptionWriter

shows a dialog upon each Throwable encountered.

Author:
Holger Antelmann
See Also:
Menus.showExceptionDialog(Component, Throwable)

Field Summary
 
Fields inherited from class com.antelmann.util.logging.AbstractLogWriter
filter
 
Fields inherited from interface com.antelmann.util.Filter
EXCLUDE_ALL_FILTER, INCLUDE_ALL_FILTER
 
Constructor Summary
ExceptionDialogWriter(Component parent)
           
 
Method Summary
 void writeLogPattern(Throwable t)
          writes the pattern to the log entity.
 
Methods inherited from class com.antelmann.util.logging.AbstractLogWriter
accept, getLogFilter, getLogFormatter, setLogFilter, setLogFormatter, write
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ExceptionDialogWriter

public ExceptionDialogWriter(Component parent)
Method Detail

writeLogPattern

public void writeLogPattern(Throwable t)
Description copied from class: AbstractLogWriter
writes the pattern to the log entity. If the LogEntryFormatter is null, the pattern is the LogEntry object itself; otherwise, the pattern is the result of formatting the LogEntry with the given LogEntryFormatter.

Specified by:
writeLogPattern in class AbstractLogWriter<Throwable>


(c) Holger Antelmann since 2001- all rights reserved (contact: info@antelmann.com)
see www.antelmann.com/developer for further details and available downloads