class UnownedInputStream extends FilterInputStream {

  @Override
  public void close() throws IOException {
    throw new UnsupportedOperationException(
        "Caller does not own the underlying input stream " + " and should not call close().");
  }

  public  UnownedInputStream(InputStream delegate);

}