Class BrokenOutputStream

java.lang.Object
java.io.OutputStream
org.apache.commons.io.output.BrokenOutputStream
All Implemented Interfaces:
Closeable, Flushable, AutoCloseable

public class BrokenOutputStream extends OutputStream
Always throws an exception from all OutputStream methods where IOException is declared.

This class is mostly useful for testing error handling.

Since:
2.0