title: Checked exception with CompletableFuture
body: <p>Using <code>Java 8</code> great feature CompletableFuture, I'd like to transform my old async code using exceptions to this new feature. But the checked exception is something bothering me. Here is my code.</p>
  
  <pre><code>CompletableFuture&lt;Void&gt; asyncTaskCompletableFuture = 
                  CompletableFuture.supplyAsync(t -&gt; processor.process(taskParam));
  </code></pre>
  
  <p>The signature of <code>process</code> method:</p>
  
  <pre><code>public void process(Message msg) throws MyException;
  </code></pre>
  
  <p>How do I deal with that checked exception in ComletableFuture?</p>