Log4j Version 1.2.14: Class QuietWriter

Log4j 1.2

Log4j 1.2.14

org.apache.log4j.helpers Class QuietWriter

java.lang.Object
  |
  +--java.io.Writer
        |
        +--java.io.FilterWriter
              |
              +--org.apache.log4j.helpers.QuietWriter
Direct Known Subclasses:
CountingQuietWriter, SyslogQuietWriter

public class QuietWriter
extends FilterWriter

QuietWriter does not throw exceptions when things go wrong. Instead, it delegates error handling to its ErrorHandler.

Since:
0.7.3
Author:
Ceki Gülcü

protected  ErrorHandler
 
 
 
 
 void
 void
 void
 
 
 
 

errorHandler

protected ErrorHandler errorHandler

QuietWriter

public QuietWriter(Writer writer,
                   ErrorHandler errorHandler)

write

public void write(String string)
Overrides:
write in class Writer

flush

public void flush()
Overrides:
flush in class FilterWriter

setErrorHandler

public void setErrorHandler(ErrorHandler eh)

Log4j 1.2.14

Copyright 2000-2005 Apache Software Foundation.