presto-cli/src/main/java/io/prestosql/cli/Pager.java/Pager/write
class Pager:    @Override
    public void write(byte[] b, int off, int len)
            throws IOException
    {
        try {
            super.write(b, off, len);
        }
        catch (IOException e) {
            throw propagateIOException(e);
        }
    }