title: Propagating checked exceptions for an AutoClosable wrapper
body: <p>Is there a way to declare a method in a generic type that wraps another method for another type and declares the same thrown exceptions? The most common example I can think of for this would be <code>AutoClosable</code>.</p>
  <pre><code>public class LazyReference&lt;T extends AutoClosable&gt; implements AutoClosable{
      public LazyReference(Supplier&lt;T&gt; factory){ ... }
      public T get() { ... } //get the instance for this. Create one from factory if needed
      @Override
      public void close() throws ????? { instance.close(); }
  }
  </code></pre>
  <p>Is there a way to implement that such that the wrapper <code>close()</code> would throw the same (one or more) checked exceptions that <code>T</code> throws when <code>T::close()</code> is called?</p>