org.apache.commons.io.input

Class BrokenInputStream

  • All Implemented Interfaces:
    Closeable, AutoCloseable


    public class BrokenInputStreamextends InputStream
    Broken input stream. This stream always throws an IOException from all the InputStream methods where the exception is declared.

    This class is mostly useful for testing error handling in code that uses an input stream.

    Since:
    2.0

Copyright © 2002–2016 The Apache Software Foundation. All rights reserved.



NOTHING
NOTHING
Add the Maven Dependecy to your project: maven dependecy for com.amazonaws : aws-java-sdk : 1.3.14