code: @CheckReturnValue
      public static Stubber doThrow(Class<? extends Throwable> toBeThrown) {
          return MOCKITO_CORE.stubber().doThrow(toBeThrown);
      }
docs: Use <code>doThrow()</code> when you want to stub the void method with an exception.
  <p>
  A new exception instance will be created for each method invocation.
  <p>
  Stubbing voids requires different approach from {@link Mockito#when(Object)} because the compiler
  does not like void methods inside brackets...
  <p>
  Example:
  
  <pre class="code"><code class="java">
  doThrow(RuntimeException.class).when(mock).someVoidMethod();
  </code></pre>
  
  @param toBeThrown to be thrown when the stubbed method is called
  @return stubber - to select a method for stubbing
  @since 2.1.0