code: @Beta
      public static <E extends Throwable> void check(boolean condition, E throwable) throws E {
          checkArgument(throwable != null, "Expected non-null reference");
          if (!condition) {
              throw throwable;
          }
      }
docs: Performs check of the condition.
  
  @param condition condition to check
  @param <E>       the exception type
  @throws IllegalArgumentException if the {@code throwable} is null
  @throws IllegalArgumentException if the {@code throwableType} cannot be instantiated
  @throws E                        if the {@code reference} doesn't match provided predicate