@Override
      public void failed(Throwable exc, Object attachment) {
        future.setException(exc);
      }
Returns a {@code CompletionHandler} that sets the appropriate result or exception on the given
{@code future} on completion.
jimfs/src/test/java/com/google/common/jimfs/JimfsAsynchronousFileChannelTest.java