@Override
    public int read() throws IOException {
        triggerException();
        int read = super.read();
        return read;
    }
@see com.amazonaws.util.RandomInputStream#read()
aws-java-sdk-test-utils/src/main/java/com/amazonaws/test/util/UnreliableRandomInputStream.java