@Override
    public DockerAccessException getException() {
        return exception;
    }
This is a copy of ByteStreams.readFully(), with the slight change that it throws
NoBytesReadException if zero bytes are read. Otherwise it is identical.

@param in
@param bytes
@throws IOException
src/main/java/io/fabric8/maven/docker/access/log/LogRequestor.java