Class BrokenWriter

java.lang.Object
java.io.Writer
org.apache.commons.io.output.BrokenWriter
All Implemented Interfaces:
Closeable, Flushable, Appendable, AutoCloseable

public class BrokenWriter extends Writer
Always throws an IOException from all Writer methods.

This class is mostly useful for testing error handling in code that uses a writer.

Since:
2.0