Class BrokenInputStream

java.lang.Object
java.io.InputStream
org.apache.commons.io.input.BrokenInputStream
All Implemented Interfaces:
Closeable, AutoCloseable

public class BrokenInputStream extends InputStream
Always throws an IOException from all the InputStream methods where the exception is declared.

This class is mostly useful for testing error handling.

Since:
2.0