code: public static <T, X extends Throwable> T throwThe(X e) throws X {
          if (e == null) {
              throw new ExceptionNotHandled("Cannot throw null exception.");
          }
  
          throw e;
      }
docs: Throws exception (convenience method for lambda expressions). Pretends that there might be a product - but it will never be returned.