code: @SafeVarargs
      public static StaticCapableStubber doThrow(Class<? extends Throwable> toBeThrown,
                                                 Class<? extends Throwable>... toBeThrownNext) {
          return new StaticCapableStubber(Mockito.doThrow(toBeThrown, toBeThrownNext));
      }
docs: Same as {@link Mockito#doThrow(Class, Class...)} but adds the ability to stub static method
  calls via {@link StaticCapableStubber#when(MockedMethod)} and
  {@link StaticCapableStubber#when(MockedVoidMethod)}.